mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
content_file_list_init - size < 1 will never happen, checked outside
before calling the function
This commit is contained in:
parent
c2f618d394
commit
274ce86d89
@ -420,8 +420,6 @@ static content_file_list_t *content_file_list_init(size_t size)
|
||||
{
|
||||
content_file_list_t *file_list = NULL;
|
||||
|
||||
if (size < 1)
|
||||
return NULL;
|
||||
if (!(file_list = (content_file_list_t *)malloc(sizeof(*file_list))))
|
||||
return NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user