summaryrefslogtreecommitdiffstats
path: root/jv_print.c
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-13 15:00:05 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-13 15:00:05 +0100
commit8c708f3c7aece2429adb626c9031b3e2de5051c3 (patch)
treebf06bc8c68044f829c35e27228737a91b8a8b544 /jv_print.c
parentb0e65d149f76c081d5840b4156b9a13516429732 (diff)
Refactor path logic.
Diffstat (limited to 'jv_print.c')
-rw-r--r--jv_print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/jv_print.c b/jv_print.c
index 6396d7c8..fc1370ed 100644
--- a/jv_print.c
+++ b/jv_print.c
@@ -124,6 +124,7 @@ static void jv_dump_term(struct dtoa_context* C, jv x, int flags, int indent, FI
}
}
switch (jv_get_kind(x)) {
+ default:
case JV_KIND_INVALID:
assert(0 && "Invalid value");
break;