diff --git a/contrib/unzip/unzip.c b/contrib/unzip/unzip.c index 085d79a02..51a3d8b4e 100644 --- a/contrib/unzip/unzip.c +++ b/contrib/unzip/unzip.c @@ -204,7 +204,7 @@ local int unzlocal_getShort (pzlib_filefunc_def,filestream,pX) uLong *pX; { uLong x ; - int i; + int i = 0; int err; err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i); @@ -232,7 +232,7 @@ local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX) uLong *pX; { uLong x ; - int i; + int i = 0; int err; err = unzlocal_getByte(pzlib_filefunc_def,filestream,&i);