mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
string_list - get rid of memset
This commit is contained in:
parent
b59e015b8b
commit
b15698e6d2
@ -232,7 +232,8 @@ struct string_list *string_split(const char *str, const char *delim)
|
||||
while (tmp)
|
||||
{
|
||||
union string_list_elem_attr attr;
|
||||
memset(&attr, 0, sizeof(attr));
|
||||
|
||||
attr.i = 0;
|
||||
|
||||
if (!string_list_append(list, tmp, attr))
|
||||
goto error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user