summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/zipfile/zipfile.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/source/win32/zipfile/zipfile.cxx b/shell/source/win32/zipfile/zipfile.cxx
index 3ba0e91ae37d..b7872f2994e2 100644
--- a/shell/source/win32/zipfile/zipfile.cxx
+++ b/shell/source/win32/zipfile/zipfile.cxx
@@ -273,8 +273,6 @@ static bool findSignatureAtOffset(StreamInterface *stream, unsigned long nOffset
stream->sseek(nOffset, SEEK_SET);
unsigned long nBytesRead = stream->sread(aBuffer, sizeof(aBuffer));
- if (nBytesRead < 0)
- return false;
for (long n = nBytesRead - 4; n >= 0; n--)
{