Fix compiler warnings in mikmod. Initialize 'status' and 'incnt'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30422 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3b83e59923
commit
d3de6d65ec
1 changed files with 4 additions and 1 deletions
|
@ -230,7 +230,10 @@ static int SL_LoadInternal(void* buffer,UWORD infmt,UWORD outfmt,int scalefactor
|
|||
|
||||
int result,c_block=0; /* compression bytes until next block */
|
||||
ITPACK status;
|
||||
UWORD incnt;
|
||||
UWORD incnt = 0;
|
||||
|
||||
memset(&status, 0, sizeof(status)); /* initialize status */
|
||||
|
||||
|
||||
while(length) {
|
||||
stodo=(length<SLBUFSIZE)?length:SLBUFSIZE;
|
||||
|
|
Loading…
Reference in a new issue