From cc1fb807c29c6ccd7a11f1d54fd91d4a87d67b33 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Wed, 28 Sep 2005 12:27:02 +0000 Subject: [PATCH] fix (likely bogus) warning about uninitialized variables --- code/jpeg-6/jdhuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/jpeg-6/jdhuff.h b/code/jpeg-6/jdhuff.h index d375c781..d67fc3b8 100644 --- a/code/jpeg-6/jdhuff.h +++ b/code/jpeg-6/jdhuff.h @@ -100,7 +100,7 @@ typedef struct { /* Bitreading working state within an MCU */ #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; \