2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Fix gcc false positive for uninitialized variable

This commit is contained in:
Todd C. Miller
2018-02-21 21:02:36 -07:00
parent 03f94d62f9
commit c13557b6cb

View File

@@ -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;