From 7a8d67f0507df4100ffd0106564807cbe8eb4d23 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 6 Oct 2008 06:45:41 +0000 Subject: 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 --- tools/voicefont.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/voicefont.c') diff --git a/tools/voicefont.c b/tools/voicefont.c index 9e5603e..4da67fa 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]); -- cgit v1.1