summaryrefslogtreecommitdiffstats
path: root/apps/talk.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-11-03 21:54:26 +0000
committerThomas Martitz <kugel@rockbox.org>2011-11-03 21:54:26 +0000
commit59dc87db7d321c1bc1e535d8f4b81b3c84092311 (patch)
treeab499a9394727493f657e82e9fbc210e019e000a /apps/talk.c
parentcf01d23d0d940e74ef77f86df328ce9b6411e97a (diff)
downloadrockbox-59dc87db7d321c1bc1e535d8f4b81b3c84092311.tar.gz
rockbox-59dc87db7d321c1bc1e535d8f4b81b3c84092311.tar.bz2
rockbox-59dc87db7d321c1bc1e535d8f4b81b3c84092311.zip
Properly initialize variable to get voice going again. GCC didn't catch this one introduced r30840.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30894 a1c6a512-1295-4272-9138-f99709370657
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 ed262b8094..ea6432dc21 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -778,7 +778,7 @@ void talk_buffer_steal(void)
int talk_id(int32_t id, bool enqueue)
{
long clipsize;
- size_t temp;
+ size_t temp = voicefile_size;
unsigned char* clipbuf;
int32_t unit;
int decimals;