summaryrefslogtreecommitdiff
path: root/gpsd_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-05-09 20:39:08 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-05-09 20:39:08 -0400
commitdbf6d322945e68fce36afd6dba75ab56d60b0c86 (patch)
tree265e06731212d3070128ffb214baf1a54bf48203 /gpsd_json.c
parent398094402837f5deb31bd8e479fc04c5f27c1edf (diff)
downloadgpsd-dbf6d322945e68fce36afd6dba75ab56d60b0c86.tar.gz
More coverity-inspired fixes.
All regression tests pass ans soint runs clean.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r--gpsd_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd_json.c b/gpsd_json.c
index 08ba8f42..6d97ff6c 100644
--- a/gpsd_json.c
+++ b/gpsd_json.c
@@ -1507,7 +1507,7 @@ void json_aivdm_dump(const struct ais_t *ais,
#define SHIPTYPE_DISPLAY(n) (((n) < (unsigned int)NITEMS(ship_type_legends)) ? ship_type_legends[n] : "INVALID SHIP TYPE")
- static const char *station_type_legends[16] = {
+ static const char *station_type_legends[] = {
"All types of mobiles",
"Reserved for future use",
"All types of Class B mobile stations",