summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'json.c')
-rw-r--r--json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/json.c b/json.c
index da52efa..242eb1f 100644
--- a/json.c
+++ b/json.c
@@ -78,6 +78,8 @@ const char *json_type_to_str(JSONValueType type) {
case JSON_OBJECT:
return "object";
}
+ assert(0);
+ return "???";
}
static bool json_parse_value(JSON *json, u32 *p_index, JSONValue *val);