소스 검색

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))