summaryrefslogtreecommitdiffstats
path: root/tools/voicefont.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-10-06 06:45:41 +0000
committerJens Arnold <amiconn@rockbox.org>2008-10-06 06:45:41 +0000
commit7a8d67f0507df4100ffd0106564807cbe8eb4d23 (patch)
tree71ec3c80194e766e6f937e64e6452b1543a34f35 /tools/voicefont.c
parent2d5e6e1a8792c71c765e2c8f6956cf71e6178b01 (diff)
downloadrockbox-7a8d67f0507df4100ffd0106564807cbe8eb4d23.tar.gz
rockbox-7a8d67f0507df4100ffd0106564807cbe8eb4d23.tar.bz2
rockbox-7a8d67f0507df4100ffd0106564807cbe8eb4d23.zip
Squash 2 warnings in each of (voicefont.c, wavtrim.c).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18720 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/voicefont.c')
-rw-r--r--tools/voicefont.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/voicefont.c b/tools/voicefont.c
index 9e5603e458..4da67fabed 100644
--- a/tools/voicefont.c
+++ b/tools/voicefont.c
@@ -217,6 +217,7 @@ int voicefont(FILE* voicefontids,int targetnum,char* filedir, FILE* output)
#ifndef RBUTIL
int main (int argc, char** argv)
{
+ FILE *ids, *output;
if (argc < 2)
{
@@ -228,14 +229,14 @@ int main (int argc, char** argv)
return -1;
}
- FILE* ids = fopen(argv[1], "r");
+ ids = fopen(argv[1], "r");
if (ids == NULL)
{
printf("Error opening language file %s\n", argv[1]);
return -2;
}
- FILE* output = fopen(argv[4], "wb");
+ output = fopen(argv[4], "wb");
if (output == NULL)
{
printf("Error opening output file %s\n", argv[4]);