mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 21:39:54 +00:00
Initialize file_path
This commit is contained in:
parent
d02d27f92a
commit
1fd7cf473d
@ -181,8 +181,8 @@ struct string_list *dir_list_new(const char *dir,
|
|||||||
|
|
||||||
while (retro_readdir(entry))
|
while (retro_readdir(entry))
|
||||||
{
|
{
|
||||||
char file_path[PATH_MAX_LENGTH];
|
bool is_dir = false;
|
||||||
bool is_dir;
|
char file_path[PATH_MAX_LENGTH] = {0};
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
const char *name = retro_dirent_get_name(entry);
|
const char *name = retro_dirent_get_name(entry);
|
||||||
const char *file_ext = path_get_extension(name);
|
const char *file_ext = path_get_extension(name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user