mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix uninitialized variable in chvideomode option parsing.
This commit is contained in:
parent
8274981a81
commit
1e7bbace90
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ bool string_parameter(const char* option,
|
|||
if ( strncmp(option, arg, option_len) != 0 )
|
||||
return false;
|
||||
if ( arg[option_len] == '=' )
|
||||
return arg + option_len + 1;
|
||||
return *result = arg + option_len + 1, true;
|
||||
if ( arg[option_len] != '\0' )
|
||||
return false;
|
||||
if ( *ip + 1 == argc )
|
||||
|
|
Loading…
Reference in a new issue