mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Cleanup
This commit is contained in:
parent
43be7c384b
commit
19721639bf
@ -59,9 +59,7 @@ static struct string_list *string_list_clone(
|
|||||||
dest->size = src->size;
|
dest->size = src->size;
|
||||||
dest->cap = src->cap;
|
dest->cap = src->cap;
|
||||||
if (dest->cap < dest->size)
|
if (dest->cap < dest->size)
|
||||||
{
|
dest->cap = dest->size;
|
||||||
dest->cap = dest->size;
|
|
||||||
}
|
|
||||||
|
|
||||||
elems = (struct string_list_elem*)
|
elems = (struct string_list_elem*)
|
||||||
calloc(dest->cap, sizeof(struct string_list_elem));
|
calloc(dest->cap, sizeof(struct string_list_elem));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user