summaryrefslogtreecommitdiffstats
path: root/apps/talk.c
diff options
context:
space:
mode:
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,
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);