Merge "Surpress warnings in minzip/Zip.c"
am: 4b3cdce702
* commit '4b3cdce702fefa7eac0626f57d09ff018127c191':
Surpress warnings in minzip/Zip.c
This commit is contained in:
@@ -509,9 +509,6 @@ static bool processDeflatedEntry(const ZipArchive *pArchive,
|
||||
unsigned char procBuf[32 * 1024];
|
||||
z_stream zstream;
|
||||
int zerr;
|
||||
long compRemaining;
|
||||
|
||||
compRemaining = pEntry->compLen;
|
||||
|
||||
/*
|
||||
* Initialize the zlib stream.
|
||||
@@ -759,7 +756,7 @@ static const char *targetEntryPath(MzPathHelper *helper, ZipEntry *pEntry)
|
||||
*/
|
||||
needLen = helper->targetDirLen + 1 +
|
||||
pEntry->fileNameLen - helper->zipDirLen + 1;
|
||||
if (needLen > helper->bufLen) {
|
||||
if (firstTime || needLen > helper->bufLen) {
|
||||
char *newBuf;
|
||||
|
||||
needLen *= 2;
|
||||
|
||||
Reference in New Issue
Block a user