Minor code cleaning

This commit is contained in:
Daniel Lemire 2019-01-18 15:21:54 -05:00
parent d888064990
commit 85d8c9dbf0
2 changed files with 1 additions and 6 deletions

View File

@ -0,0 +1 @@
{ "\"Name": [ 116,"\\\"", 234, "true", false ], "t": 1.0e+10}

View File

@ -40,12 +40,6 @@ bool json_parse(const uint8_t *buf, size_t len, ParsedJson &pj, bool reallocifne
} }
} }
bool isok = find_structural_bits(buf, len, pj); bool isok = find_structural_bits(buf, len, pj);
/*if (isok) {
isok = flatten_indexes(len, pj);
} else {
if(reallocated) free((void*)buf);
return false;
}*/
if (isok) { if (isok) {
isok = unified_machine(buf, len, pj); isok = unified_machine(buf, len, pj);
} else { } else {