diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 19:12:33 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 19:12:33 +0000 |
commit | d3de6d65ec79b30e6e93ff59f549feb898c58a30 (patch) | |
tree | 09e033159ee2835249d343aadcdb1d37ec26b688 /apps/plugins/mikmod | |
parent | 3b83e599233483edd86401f6698d822b0d4dc03c (diff) | |
download | rockbox-d3de6d65ec79b30e6e93ff59f549feb898c58a30.tar.gz rockbox-d3de6d65ec79b30e6e93ff59f549feb898c58a30.zip |
Fix compiler warnings in mikmod. Initialize 'status' and 'incnt'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30422 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mikmod')
-rw-r--r-- | apps/plugins/mikmod/sloader.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/mikmod/sloader.c b/apps/plugins/mikmod/sloader.c index 8b15b0d453..8c1070cba1 100644 --- a/apps/plugins/mikmod/sloader.c +++ b/apps/plugins/mikmod/sloader.c | |||
@@ -230,7 +230,10 @@ static int SL_LoadInternal(void* buffer,UWORD infmt,UWORD outfmt,int scalefactor | |||
230 | 230 | ||
231 | int result,c_block=0; /* compression bytes until next block */ | 231 | int result,c_block=0; /* compression bytes until next block */ |
232 | ITPACK status; | 232 | ITPACK status; |
233 | UWORD incnt; | 233 | UWORD incnt = 0; |
234 | |||
235 | memset(&status, 0, sizeof(status)); /* initialize status */ | ||
236 | |||
234 | 237 | ||
235 | while(length) { | 238 | while(length) { |
236 | stodo=(length<SLBUFSIZE)?length:SLBUFSIZE; | 239 | stodo=(length<SLBUFSIZE)?length:SLBUFSIZE; |