mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-03-30 07:25:58 +00:00
Remove old state resetting
This commit is contained in:
parent
69a5ca0bb9
commit
415193ad8e
@ -77,13 +77,12 @@ void json_print(json_object *j, int depth) {
|
||||
|
||||
void process(FILE *f, char *fname) {
|
||||
json_pull *jp = json_begin_file(f);
|
||||
json_object *j = NULL;
|
||||
json_object *j;
|
||||
|
||||
while ((j = json_parse(jp)) != NULL) {
|
||||
if (j->parent == NULL) {
|
||||
json_print(j, 0);
|
||||
printf("\n");
|
||||
j = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user