From 12c60b2f3203a7009d35cba0e135e40419f2ea03 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 1 Apr 2016 14:53:12 +0900 Subject: [PATCH] Quiet a compiler warning --- src/jv_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jv_file.c b/src/jv_file.c index 3159df53..a5829a8f 100644 --- a/src/jv_file.c +++ b/src/jv_file.c @@ -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",