Fixing dead code.

This commit is contained in:
Daniel Lemire 2019-01-02 12:16:29 -05:00
parent f1af4038e3
commit d94e8ee973
1 changed files with 1 additions and 1 deletions

View File

@ -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