diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2018-09-21 14:27:12 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2018-09-28 11:53:15 -0400 |
commit | 3e209f34e4713a7fc26db74ad592d99b640db1bc (patch) | |
tree | 4dfb4df9b601dac422aed0070e6bc8382fdf5d2b /tools/voicefont.c | |
parent | e18425197e41cc2ecdc475cbd9d18ce36cb1b6e4 (diff) | |
download | rockbox-3e209f34e4713a7fc26db74ad592d99b640db1bc.tar.gz rockbox-3e209f34e4713a7fc26db74ad592d99b640db1bc.zip |
misc: Fix some assorted compiler warnings
Change-Id: Ibc4aac79e6fce92ad4414ed50122c2d4d6295f89
Diffstat (limited to 'tools/voicefont.c')
-rw-r--r-- | tools/voicefont.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/voicefont.c b/tools/voicefont.c index 4d1363b1bc..f4318b3b26 100644 --- a/tools/voicefont.c +++ b/tools/voicefont.c | |||
@@ -103,7 +103,8 @@ int voicefont(FILE* voicefontids,int targetnum,char* filedir, FILE* output, unsi | |||
103 | memset(voiceonly, 0, sizeof(voiceonly)); | 103 | memset(voiceonly, 0, sizeof(voiceonly)); |
104 | while (!feof(voicefontids)) | 104 | while (!feof(voicefontids)) |
105 | { | 105 | { |
106 | fgets(line, sizeof(line), voicefontids); | 106 | if (!fgets(line, sizeof(line), voicefontids)) |
107 | break; | ||
107 | if (line[0] == '#') /* comment */ | 108 | if (line[0] == '#') /* comment */ |
108 | continue; | 109 | continue; |
109 | 110 | ||