mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Fix test/c/std/json.c -Wunused-but-set-variable
This commit is contained in:
1 parent
23c9de18c6
commit
a55e0a02a2
1 file changed
+6
@@ -3099,6 +3099,12 @@ test_wuffs_json_decode_quirk_allow_backslash_x() {
|
||||
|
||||
src_index += token_length;
|
||||
}
|
||||
|
||||
if (src_index != src.meta.ri) {
|
||||
RETURN_FAIL("tc=%zu: src_index: have %" PRIu64 ", want %zu", tc,
|
||||
src_index, src.meta.ri);
|
||||
}
|
||||
|
||||
uint64_t want = test_cases[tc].want_code_points;
|
||||
if (have != want) {
|
||||
RETURN_FAIL("tc=%zu: have U+%08" PRIX64 ", want U+%08" PRIX64, tc, have,
|
||||
|
||||
Reference in new issue
Block a user