mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-30 06:43:53 +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…
Reference in New Issue
Block a user