mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +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) {
|
void process(FILE *f, char *fname) {
|
||||||
json_pull *jp = json_begin_file(f);
|
json_pull *jp = json_begin_file(f);
|
||||||
json_object *j = NULL;
|
json_object *j;
|
||||||
|
|
||||||
while ((j = json_parse(jp)) != NULL) {
|
while ((j = json_parse(jp)) != NULL) {
|
||||||
if (j->parent == NULL) {
|
if (j->parent == NULL) {
|
||||||
json_print(j, 0);
|
json_print(j, 0);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
j = NULL;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user