diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 07:52:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 07:52:12 +0000 |
commit | dad8b2b68113840c826e43e3857c487498271c85 (patch) | |
tree | 6d4ee128c976f402e842b7799d2151ebd19bceb1 /ais_json.c | |
parent | dbda81f426dc8cc2d2271b5efbe022d50a5f7732 (diff) | |
download | gpsd-dad8b2b68113840c826e43e3857c487498271c85.tar.gz |
Bride of the Splint Cleanup. All regression tests pass.
Diffstat (limited to 'ais_json.c')
-rw-r--r-- | ais_json.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -130,6 +130,7 @@ int json_ais_read(const char *buf, } else if (strstr(buf, "\"type\":24,") != NULL) { status = json_read_object(buf, json_ais24, endptr); } else { + *endptr = NULL; return JSON_ERR_MISC; } return status; |