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;
|
content_file_list_t *file_list = NULL;
|
||||||
|
|
||||||
if (size < 1)
|
|
||||||
return NULL;
|
|
||||||
if (!(file_list = (content_file_list_t *)malloc(sizeof(*file_list))))
|
if (!(file_list = (content_file_list_t *)malloc(sizeof(*file_list))))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue