mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +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)
|
||||
{
|
||||
list_info->size *= 2;
|
||||
if (!(*list = (rarch_setting_t*)
|
||||
realloc(*list, sizeof(rarch_setting_t) * list_info->size)))
|
||||
*list = (rarch_setting_t*)
|
||||
realloc(*list, sizeof(rarch_setting_t) * list_info->size);
|
||||
if (!*list)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user