Skip to content

Commit 85d8c9d

Browse files
committed
Minor code cleaning
1 parent d888064 commit 85d8c9d

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "\"Name": [ 116,"\\\"", 234, "true", false ], "t": 1.0e+10}

src/jsonparser.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ bool json_parse(const uint8_t *buf, size_t len, ParsedJson &pj, bool reallocifne
4040
}
4141
}
4242
bool isok = find_structural_bits(buf, len, pj);
43-
/*if (isok) {
44-
isok = flatten_indexes(len, pj);
45-
} else {
46-
if(reallocated) free((void*)buf);
47-
return false;
48-
}*/
4943
if (isok) {
5044
isok = unified_machine(buf, len, pj);
5145
} else {

0 commit comments

Comments
 (0)