summaryrefslogtreecommitdiff
path: root/apps/talk.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-11-12 16:34:02 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2022-11-14 09:01:43 -0500
commit034b6d5bfb5bdedaf843079a02ff6df31488f394 (patch)
treecb63276749abdb266d77a1d2cdcd89622a1ddd35 /apps/talk.c
parentf94a14b85917787523b23f1031193858741f4d7b (diff)
downloadrockbox-034b6d5bfb5bdedaf843079a02ff6df31488f394.tar.gz
rockbox-034b6d5bfb5bdedaf843079a02ff6df31488f394.zip
Remove some shadowed variables identified by -Wshadow
there are plenty more but these are the low hanging fruit Change-Id: I86d9f4f56e8cd9b381d1bf6a6679cd58c6a4004d
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/talk.c b/apps/talk.c
index a7af58c273..65933c6895 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -987,7 +987,7 @@ static int _talk_file(const char* filename,
987 return -1; 987 return -1;
988 if (talk_handle <= 0 || index_handle <= 0) 988 if (talk_handle <= 0 || index_handle <= 0)
989 { 989 {
990 int fd = open_voicefile(); 990 fd = open_voicefile();
991 if (fd < 0 || !load_voicefile_index(fd)) 991 if (fd < 0 || !load_voicefile_index(fd))
992 return load_voicefile_failure(fd); 992 return load_voicefile_failure(fd);
993 load_voicefile_data(fd); 993 load_voicefile_data(fd);