Browse Source

unzip: Remove dead assignments

Turo Lamminen 7 years ago
parent
commit
c248ae3797
1 changed files with 0 additions and 2 deletions
  1. 0 2
      contrib/unzip/unzip.c

+ 0 - 2
contrib/unzip/unzip.c

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