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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user