summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-09 19:55:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-09 19:55:04 +0000
commitf8568d0193cd3d5e730b986e79d49fcda7c2367a (patch)
tree9b6d50dbeb5eb4b04cc2e7a27b6a04e8388728d1 /ais_json.c
parent5dcc7402bc00a21c7432316af66bca429fc855df (diff)
downloadgpsd-f8568d0193cd3d5e730b986e79d49fcda7c2367a.tar.gz
Partial splint cleanup. All regression tests pass.
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ais_json.c b/ais_json.c
index 106d0ab7..9396c794 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -27,7 +27,7 @@ static void lenhex_unpack(const char *from,
*plen = (unsigned)atoi(from);
if (colon != NULL)
- gpsd_hexpack(colon+1, to, maxlen);
+ (void)gpsd_hexpack(colon+1, to, maxlen);
}
int json_ais_read(const char *buf,
@@ -46,7 +46,6 @@ int json_ais_read(const char *buf,
int status;
-
#include "ais_json.i" /* JSON parser template structures */
#undef AIS_HEADER