summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-11 21:05:37 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-13 10:10:33 +0200
commit4469c60ad800a7cb58aca0ebee488a81dbf98fb4 (patch)
tree8e97b408b261c92ba7f6090a2181e20e30cb1838 /shell
parent7cc627ff79aeda1971ee0d8bfd7b0d5d773384f9 (diff)
warning C4296: '<' : expression is always false
sread doesn't return negative values Change-Id: I72caa9abe7081b7d88e412510d70ec3810634af1
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--)
{