summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-01 22:14:35 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-01 22:14:35 -0400
commitfe8553035c52d250fe9bd2d57e806c92393bb219 (patch)
tree247e4759d34a4f12de91dff3b3f26d1d0747c6ed /json.c
parent95b81e7965f5fd175db8fad21e8a1533f83f80e0 (diff)
downloadgpsd-fe8553035c52d250fe9bd2d57e806c92393bb219.tar.gz
splint cleanup.
Diffstat (limited to 'json.c')
-rw-r--r--json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/json.c b/json.c
index ac00ab32..1f6877f2 100644
--- a/json.c
+++ b/json.c
@@ -600,6 +600,7 @@ int json_read_array(const char *cp, const struct json_array_t *arr,
case t_character:
case t_array:
case t_check:
+ case t_ignore:
json_debug_trace((1, "Invalid array subtype.\n"));
return JSON_ERR_SUBTYPE;
}