Remove old state resetting

This commit is contained in:
Eric Fischer 2014-02-06 21:05:46 -08:00
parent 69a5ca0bb9
commit 415193ad8e

View File

@ -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;
}
}