mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Move this assignment outside the two-line conditional.
This commit is contained in:
parent
00c8ba1814
commit
51cfb3f886
@ -2133,8 +2133,9 @@ static bool data_list_append(rarch_setting_t **list,
|
|||||||
if (list_info->index == list_info->size)
|
if (list_info->index == list_info->size)
|
||||||
{
|
{
|
||||||
list_info->size *= 2;
|
list_info->size *= 2;
|
||||||
if (!(*list = (rarch_setting_t*)
|
*list = (rarch_setting_t*)
|
||||||
realloc(*list, sizeof(rarch_setting_t) * list_info->size)))
|
realloc(*list, sizeof(rarch_setting_t) * list_info->size);
|
||||||
|
if (!*list)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user