unzip: Remove dead assignments

pull/1498/head
Turo Lamminen 2017-11-15 12:33:34 +02:00
parent 9b88715361
commit c248ae3797
1 changed files with 0 additions and 2 deletions

View File

@ -733,11 +733,9 @@ local int unzlocal_GetCurrentFileInfoInternal (file,
if ((file_info.size_file_comment>0) && (commentBufferSize>0)) if ((file_info.size_file_comment>0) && (commentBufferSize>0))
if (ZREAD(s->z_filefunc, s->filestream,szComment,uSizeRead)!=uSizeRead) if (ZREAD(s->z_filefunc, s->filestream,szComment,uSizeRead)!=uSizeRead)
err=UNZ_ERRNO; err=UNZ_ERRNO;
lSeek+=file_info.size_file_comment - uSizeRead;
} }
else else
{ {
lSeek+=file_info.size_file_comment;
} }
if ((err==UNZ_OK) && (pfile_info!=NULL)) if ((err==UNZ_OK) && (pfile_info!=NULL))