Skip to content

Commit

Permalink
MT#55283 avoid uninitialised value
Browse files Browse the repository at this point in the history
Change-Id: Ia9190169cd61d2a2c61565e2f9023d5b8c0926f0
  • Loading branch information
rfuchs committed Aug 20, 2024
1 parent c480adc commit ed6ea73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/control_ng_flags_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ static bool get_key_val(str * key, str * val, str *in_out)
return false;
// key=value ?
str k;
*val = STR_NULL;
if (!str_token_sep(&k, key, '='))
return true;
*val = *key;
Expand Down

0 comments on commit ed6ea73

Please sign in to comment.