summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-04-01 19:24:49 +0200
committerJo-Philipp Wich <jo@mein.io>2021-04-24 23:44:04 +0200
commitf2c4b79feaffd7b2fdb4041f47c9cd0f4cc3bc6e (patch)
tree4b07c881aacb2a81f027ce59fe0e8b2bb63b2eaa /main.c
parent93ededbe93ff1e5949387996b69892c9220a94e8 (diff)
treewide: fix issues reported by clang code analyzer
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 55c9dd8..c185524 100644
--- a/main.c
+++ b/main.c
@@ -197,7 +197,7 @@ static json_object *
parse_envfile(FILE *fp)
{
json_object *rv = NULL;
- enum json_tokener_error err;
+ enum json_tokener_error err = json_tokener_continue;
struct json_tokener *tok;
char buf[128];
size_t rlen;