Fix -Wswitch warnings in example/json*

This commit is contained in:
Nigel Tao committed 2020-03-16 10:37:47 +11:00
1 parent d0b16cb492
commit 18ef5b458c
2 files changed
+6

No files matched your search

+4
View File
@@ -888,6 +888,8 @@ handle_token(wuffs_base__token t) {
case context::in_dict_after_key:
query_matched_fragment = query.matched_fragment();
break;
default:
break;
}
}
if (!query_matched_fragment) {
@@ -992,6 +994,8 @@ after_value:
case context::in_dict_after_value:
ctx = context::in_dict_after_key;
break;
default:
break;
}
return nullptr;
}