Browse Source

MT#55283 avoid uninitialised value

Change-Id: Ia9190169cd61d2a2c61565e2f9023d5b8c0926f0
pull/1853/head
Richard Fuchs 1 year ago
parent
commit
ed6ea73066
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      daemon/control_ng_flags_parser.c

+ 1
- 0
daemon/control_ng_flags_parser.c View File

@ -33,6 +33,7 @@ static bool get_key_val(str * key, str * val, str *in_out)
return false; return false;
// key=value ? // key=value ?
str k; str k;
*val = STR_NULL;
if (!str_token_sep(&k, key, '=')) if (!str_token_sep(&k, key, '='))
return true; return true;
*val = *key; *val = *key;


Loading…
Cancel
Save