summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-29 17:33:29 -0500
committerpommicket <pommicket@gmail.com>2022-12-29 17:33:29 -0500
commit5f7af06a9085835a3d1ad3a51374c245859d7d97 (patch)
treef8ea4ad4d809334131b479ff8b9c0bd125c45f29 /json.c
parente4aac4859511cb22ed84946eb5510cd7fa14e147 (diff)
fix GCC warnings
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);