From f8568d0193cd3d5e730b986e79d49fcda7c2367a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 9 Sep 2009 19:55:04 +0000 Subject: Partial splint cleanup. All regression tests pass. --- ais_json.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ais_json.c') 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 -- cgit v1.2.1