Explorar el Código

unzip: Remove dead assignments

Turo Lamminen hace 7 años
padre
commit
c248ae3797
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  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))