From 983e52e308476a115fd410997839b6b0b510611f Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Wed, 15 Nov 2017 12:45:27 +0200 Subject: [PATCH] unzip: Remove dead assignment --- contrib/unzip/unzip.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/unzip/unzip.c b/contrib/unzip/unzip.c index 2ab621a6f..e8b62e763 100644 --- a/contrib/unzip/unzip.c +++ b/contrib/unzip/unzip.c @@ -725,9 +725,7 @@ local int unzlocal_GetCurrentFileInfoInternal (file, if (lSeek!=0) { - if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) - lSeek=0; - else + if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)!=0) err=UNZ_ERRNO; } if ((file_info.size_file_comment>0) && (commentBufferSize>0))