mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
(unzip.c) unz64local_GetCurrentFileInfoInternal - get rid of shadowed local variable
This commit is contained in:
parent
7c45f48965
commit
6cf27702b0
4
deps/rzlib/unzip.c
vendored
4
deps/rzlib/unzip.c
vendored
@ -1038,7 +1038,7 @@ local int unz64local_GetCurrentFileInfoInternal (unzFile file,
|
|||||||
/* ZIP64 extra fields */
|
/* ZIP64 extra fields */
|
||||||
if (headerId == 0x0001)
|
if (headerId == 0x0001)
|
||||||
{
|
{
|
||||||
uLong uL;
|
uLong tmp;
|
||||||
|
|
||||||
if(file_info.uncompressed_size == (ZPOS64_T)(unsigned long)-1)
|
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)
|
if(file_info.disk_num_start == (unsigned long)-1)
|
||||||
{
|
{
|
||||||
/* Disk Start Number */
|
/* 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;
|
err=UNZ_ERRNO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user