mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup
This commit is contained in:
parent
4e8ad770e6
commit
1d47300f0f
@ -691,7 +691,7 @@ static bool event_save_core_config(void)
|
||||
/* In case of collision, find an alternative name. */
|
||||
for (i = 0; i < 16; i++)
|
||||
{
|
||||
char tmp[64] = {0};
|
||||
char tmp[64];
|
||||
|
||||
fill_pathname_base(config_name, settings->libretro,
|
||||
sizeof(config_name));
|
||||
@ -699,8 +699,6 @@ static bool event_save_core_config(void)
|
||||
fill_pathname_join(config_path, config_dir, config_name,
|
||||
sizeof(config_path));
|
||||
|
||||
*tmp = '\0';
|
||||
|
||||
if (i)
|
||||
snprintf(tmp, sizeof(tmp), "-%u.cfg", i);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user