From 27ae00630d7820cf98e952a1c2aeb8363393ab6d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 21 May 2009 08:37:04 +0000 Subject: [PATCH] Added a default value to avoid warning --- src/osgPlugins/zip/unzip.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osgPlugins/zip/unzip.cpp b/src/osgPlugins/zip/unzip.cpp index daec066b0..4caf31da1 100644 --- a/src/osgPlugins/zip/unzip.cpp +++ b/src/osgPlugins/zip/unzip.cpp @@ -1810,6 +1810,8 @@ uInt *v) // working area: values in order of bit length int y; // number of dummy codes added uInt z; // number of entries in current table + // provide a default value + r.base = 0; // Generate counts for each bit length p = c;