瀏覽代碼

unzip: Remove dead assignments

Turo Lamminen 7 年之前
父節點
當前提交
c248ae3797
共有 1 個文件被更改,包括 0 次插入2 次删除
  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))