Skip to content

Commit a61d7f2

Browse files
committed
remove empty input warning (no *nix tools do this)
1 parent cb62e5d commit a61d7f2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

jshon.c

-3
Original file line numberDiff line numberDiff line change
@@ -943,9 +943,6 @@ int main (int argc, char *argv[])
943943
exit(1);
944944
}
945945

946-
if (!content[0] && !quiet)
947-
{fprintf(stderr, "warning: nothing to read\n");}
948-
949946
if (jsonp)
950947
{content = remove_jsonp_callback(content, &jsonp_rows, &jsonp_cols);}
951948

0 commit comments

Comments
 (0)