diff --git a/plugins/sudoers/cvtsudoers_json.c b/plugins/sudoers/cvtsudoers_json.c index 72fe1bc19..b8a722d58 100644 --- a/plugins/sudoers/cvtsudoers_json.c +++ b/plugins/sudoers/cvtsudoers_json.c @@ -334,7 +334,7 @@ print_member_json_int(FILE *fp, char *name, int type, bool negated, enum word_type word_type, bool last_one, int indent, bool expand_aliases) { struct json_value value; - const char *typestr; + const char *typestr = NULL; const char *errstr; int alias_type = UNSPEC; bool need_newline = true;