mirror of
https://github.com/libretro/RetroArch
synced 2025-03-04 07:13:26 +00:00
Merge pull request #4690 from libretro/msr_temp
Avoid 'unused scalar variable' warning
This commit is contained in:
commit
d462e91659
@ -376,6 +376,10 @@ static bool load_content_from_compressed_archive(
|
|||||||
ssize_t new_path_len = 0;
|
ssize_t new_path_len = 0;
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
|
|
||||||
|
new_path[0] = '\0';
|
||||||
|
new_basedir[0] = '\0';
|
||||||
|
attributes.i = 0;
|
||||||
|
|
||||||
RARCH_LOG("Compressed file in case of need_fullpath."
|
RARCH_LOG("Compressed file in case of need_fullpath."
|
||||||
" Now extracting to temporary directory.\n");
|
" Now extracting to temporary directory.\n");
|
||||||
|
|
||||||
@ -395,7 +399,6 @@ static bool load_content_from_compressed_archive(
|
|||||||
|
|
||||||
new_path[0] = '\0';
|
new_path[0] = '\0';
|
||||||
new_basedir[0] = '\0';
|
new_basedir[0] = '\0';
|
||||||
attributes.i = 0;
|
|
||||||
|
|
||||||
fill_pathname_join(new_path, new_basedir,
|
fill_pathname_join(new_path, new_basedir,
|
||||||
path_basename(path), sizeof(new_path));
|
path_basename(path), sizeof(new_path));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user