unzip: Remove dead assignment

pull/1498/head
Turo Lamminen 2017-11-15 12:45:27 +02:00
parent 76de3e0828
commit 983e52e308
1 changed files with 1 additions and 3 deletions

View File

@ -725,9 +725,7 @@ local int unzlocal_GetCurrentFileInfoInternal (file,
if (lSeek!=0)
{
if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0)
lSeek=0;
else
if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)!=0)
err=UNZ_ERRNO;
}
if ((file_info.size_file_comment>0) && (commentBufferSize>0))