shithub: jbig2

Download patch

ref: 2f525802258cbed79e961d81e15390adf0f597ee
parent: e3539c7888e025ebd0847d7099cf0a88b2465c8e
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Wed May 7 18:34:38 EDT 2003

Avoid a (spurious) uninitialized variable warning.

(recommitted after repository became corrupt. original change date Mon May  5 10:23:28 2003)


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@247 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2_text.c
+++ b/jbig2_text.c
@@ -324,7 +324,7 @@
     Jbig2SymbolDict **dicts;
     int n_dicts;
     uint16_t flags;
-    uint16_t huffman_flags;
+    uint16_t huffman_flags = 0;
     int8_t sbrat[4];
     int code;