mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Get rid of another FORWARD_NULL
This commit is contained in:
parent
5eec1c1f39
commit
60f0b42b1c
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ static bool core_option_manager_parse_variable(
|
|||
if (!string_is_empty(var->value))
|
||||
value = strdup(var->value);
|
||||
|
||||
desc_end = strstr(value, "; ");
|
||||
if (value)
|
||||
desc_end = strstr(value, "; ");
|
||||
|
||||
if (!desc_end)
|
||||
goto error;
|
||||
|
|
Loading…
Add table
Reference in a new issue