Fixing dead code.
This commit is contained in:
parent
f1af4038e3
commit
d94e8ee973
|
@ -111,7 +111,7 @@ really_inline bool parse_string(const uint8_t *buf, UNUSED size_t len,
|
||||||
return is_ok;
|
return is_ok;
|
||||||
#else //CHECKUNESCAPED
|
#else //CHECKUNESCAPED
|
||||||
#ifdef JSON_TEST_STRINGS // for unit testing
|
#ifdef JSON_TEST_STRINGS // for unit testing
|
||||||
foundString(buf + offset,start_of_string,pj.current_string_buf_loc);
|
foundString(buf + offset,start_of_string,pj.current_string_buf_loc - 1);
|
||||||
#endif // JSON_TEST_STRINGS
|
#endif // JSON_TEST_STRINGS
|
||||||
return true;
|
return true;
|
||||||
#endif //CHECKUNESCAPED
|
#endif //CHECKUNESCAPED
|
||||||
|
|
Loading…
Reference in New Issue