Commits

Shlomi Fish committed 2a3b7ad

Explicitly initialising some variables (gcc warning)

  • Participants
  • Parent commits 0cb50dc

Comments (0)

Files changed (1)

File libmikmod/playercode/sloader.c

 
 	int result,c_block=0;	/* compression bytes until next block */
 	ITPACK status;
-	UWORD incnt;
+	UWORD incnt = 0;
+
+	status.buf = 0;
+	status.last = 0;
+	status.bufbits = 0;
+	status.bits = 0;
 
 	while(length) {
 		stodo=(length<SLBUFSIZE)?length:SLBUFSIZE;