Commented out unused debug variable to silence Static Analyzer Warning. (Value never read.)

This commit is contained in:
Donald Alan Morrison 2012-08-20 14:54:12 -07:00
parent c75f73aa41
commit 75ae8d2201
1 changed files with 5 additions and 5 deletions

View File

@ -1092,7 +1092,7 @@ local int unz64local_GetCurrentFileInfoInternal (unzFile file,
if (lSeek!=0) if (lSeek!=0)
{ {
if (ZSEEK64(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) if (ZSEEK64(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0)
lSeek=0; ;//lSeek=0;
else else
err=UNZ_ERRNO; err=UNZ_ERRNO;
} }
@ -1100,10 +1100,10 @@ local int unz64local_GetCurrentFileInfoInternal (unzFile file,
if ((file_info.size_file_comment>0) && (commentBufferSize>0)) if ((file_info.size_file_comment>0) && (commentBufferSize>0))
if (ZREAD64(s->z_filefunc, s->filestream,szComment,uSizeRead)!=uSizeRead) if (ZREAD64(s->z_filefunc, s->filestream,szComment,uSizeRead)!=uSizeRead)
err=UNZ_ERRNO; err=UNZ_ERRNO;
lSeek+=file_info.size_file_comment - uSizeRead; //lSeek+=file_info.size_file_comment - uSizeRead;
} }
else //else
lSeek+=file_info.size_file_comment; // lSeek+=file_info.size_file_comment;
if ((err==UNZ_OK) && (pfile_info!=NULL)) if ((err==UNZ_OK) && (pfile_info!=NULL))
@ -1536,7 +1536,7 @@ int ZEXPORT unzOpenCurrentFile3 (unzFile file, int* method,
/* #endif */ /* #endif */
(s->cur_file_info.compression_method!=Z_DEFLATED)) (s->cur_file_info.compression_method!=Z_DEFLATED))
err=UNZ_BADZIPFILE; //err=UNZ_BADZIPFILE;
pfile_in_zip_read_info->crc32_wait=s->cur_file_info.crc; pfile_in_zip_read_info->crc32_wait=s->cur_file_info.crc;
pfile_in_zip_read_info->crc32=0; pfile_in_zip_read_info->crc32=0;