r122 - trunk/code/jpeg-6

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Sep 28 08:27:03 EDT 2005


Author: ludwig
Date: 2005-09-28 08:27:02 -0400 (Wed, 28 Sep 2005)
New Revision: 122

Modified:
   trunk/code/jpeg-6/jdhuff.h
Log:
fix (likely bogus) warning about uninitialized variables


Modified: trunk/code/jpeg-6/jdhuff.h
===================================================================
--- trunk/code/jpeg-6/jdhuff.h	2005-09-27 17:45:16 UTC (rev 121)
+++ trunk/code/jpeg-6/jdhuff.h	2005-09-28 12:27:02 UTC (rev 122)
@@ -100,7 +100,7 @@
 #define BITREAD_STATE_VARS  \
 	register bit_buf_type get_buffer;  \
 	register int bits_left;  \
-	bitread_working_state br_state
+	bitread_working_state br_state = {0}
 
 #define BITREAD_LOAD_STATE(cinfop,permstate)  \
 	br_state.cinfo = cinfop; \




More information about the quake3-commits mailing list