From 6cf27702b09f6c09df5a441313f187095bf50ada Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Mon, 20 Oct 2014 02:58:26 +0200 Subject: [PATCH] (unzip.c) unz64local_GetCurrentFileInfoInternal - get rid of shadowed local variable --- deps/rzlib/unzip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/rzlib/unzip.c b/deps/rzlib/unzip.c index 29142aca47..ea1e29c763 100644 --- a/deps/rzlib/unzip.c +++ b/deps/rzlib/unzip.c @@ -1038,7 +1038,7 @@ local int unz64local_GetCurrentFileInfoInternal (unzFile file, /* ZIP64 extra fields */ if (headerId == 0x0001) { - uLong uL; + uLong tmp; if(file_info.uncompressed_size == (ZPOS64_T)(unsigned long)-1) { @@ -1062,7 +1062,7 @@ local int unz64local_GetCurrentFileInfoInternal (unzFile file, if(file_info.disk_num_start == (unsigned long)-1) { /* Disk Start Number */ - if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) + if (unz64local_getLong(&s->z_filefunc, s->filestream,&tmp) != UNZ_OK) err=UNZ_ERRNO; }