diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-04-01 14:53:12 +0900 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2017-02-25 18:49:22 -0600 |
commit | 12c60b2f3203a7009d35cba0e135e40419f2ea03 (patch) | |
tree | 2a09e75bf03aa7e1220da32ccb850276cbda8b16 | |
parent | 9801de6979e154a67fa8a771f58f5697e84761e8 (diff) |
Quiet a compiler warning
-rw-r--r-- | src/jv_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |