1
0
Fork 0
forked from len0rd/rockbox

Remove some shadowed variables identified by -Wshadow

there are plenty more but these are the low hanging fruit

Change-Id: I86d9f4f56e8cd9b381d1bf6a6679cd58c6a4004d
This commit is contained in:
William Wilgus 2022-11-12 16:34:02 -05:00 committed by William Wilgus
parent f94a14b859
commit 034b6d5bfb
9 changed files with 12 additions and 15 deletions

View file

@ -987,7 +987,7 @@ static int _talk_file(const char* filename,
return -1;
if (talk_handle <= 0 || index_handle <= 0)
{
int fd = open_voicefile();
fd = open_voicefile();
if (fd < 0 || !load_voicefile_index(fd))
return load_voicefile_failure(fd);
load_voicefile_data(fd);