MT#55283 avoid uninitialised value

Change-Id: Ia9190169cd61d2a2c61565e2f9023d5b8c0926f0
pull/1853/head
Richard Fuchs 9 months ago
parent c480adc8fd
commit ed6ea73066

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