1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Quiet a compiler warning

This commit is contained in:
Yasuhiro Matsumoto
2016-04-01 14:53:12 +09:00
committed by Nicolas Williams
parent 9801de6979
commit 12c60b2f32

View File

@ -8,7 +8,7 @@
jv jv_load_file(const char* filename, int raw) {
FILE* file = fopen(filename, "r");
struct jv_parser* parser;
struct jv_parser* parser = NULL;
jv data;
if (!file) {
return jv_invalid_with_msg(jv_string_fmt("Could not open %s: %s",