mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 00:32:46 +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))
|
||||
{
|
||||
char file_path[PATH_MAX_LENGTH];
|
||||
bool is_dir;
|
||||
bool is_dir = false;
|
||||
char file_path[PATH_MAX_LENGTH] = {0};
|
||||
int ret = 0;
|
||||
const char *name = retro_dirent_get_name(entry);
|
||||
const char *file_ext = path_get_extension(name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user