mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Remove old state resetting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user