unzip: Fix possibly uninitialized variables

pull/1498/head
Turo Lamminen 2017-11-15 12:30:18 +02:00
parent 11fdaa31bc
commit 0bc259fd95
1 changed files with 2 additions and 2 deletions

View File

@ -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);