diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-11 21:05:37 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-13 10:10:33 +0200 |
commit | 4469c60ad800a7cb58aca0ebee488a81dbf98fb4 (patch) | |
tree | 8e97b408b261c92ba7f6090a2181e20e30cb1838 /shell | |
parent | 7cc627ff79aeda1971ee0d8bfd7b0d5d773384f9 (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.cxx | 2 |
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--) { |