mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(archive_file.c) Get rid of memsets
This commit is contained in:
parent
af8f0eb9b2
commit
712724e0ff
@ -188,7 +188,7 @@ static int file_archive_get_file_list_cb(
|
|||||||
(void)size;
|
(void)size;
|
||||||
(void)checksum;
|
(void)checksum;
|
||||||
|
|
||||||
memset(&attr, 0, sizeof(attr));
|
attr.i = 0;
|
||||||
|
|
||||||
if (!path_len)
|
if (!path_len)
|
||||||
return 0;
|
return 0;
|
||||||
@ -703,7 +703,7 @@ static struct string_list *file_archive_filename_split(const char *path)
|
|||||||
struct string_list *list = string_list_new();
|
struct string_list *list = string_list_new();
|
||||||
const char *delim = path_get_archive_delim(path);
|
const char *delim = path_get_archive_delim(path);
|
||||||
|
|
||||||
memset(&attr, 0, sizeof(attr));
|
attr.i = 0;
|
||||||
|
|
||||||
if (delim)
|
if (delim)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user