diff options
-rw-r--r-- | shell/source/win32/zipfile/zipfile.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/shell/source/win32/zipfile/zipfile.cxx b/shell/source/win32/zipfile/zipfile.cxx index b7872f2994e2..ceccb7a3b2a7 100644 --- a/shell/source/win32/zipfile/zipfile.cxx +++ b/shell/source/win32/zipfile/zipfile.cxx @@ -105,17 +105,6 @@ struct CentralDirectoryEnd // This little lot performs in a truly appalling way without // buffering eg. on an IStream. -static unsigned char readByte(StreamInterface *stream) -{ - if (!stream || stream->stell() == -1) - throw IOException(-1); - unsigned char tmpBuf; - unsigned long numBytesRead = stream->sread(&tmpBuf, 1); - if (numBytesRead != 1) - throw IOException(-1); - return tmpBuf; -} - static unsigned short readShort(StreamInterface *stream) { if (!stream || stream->stell() == -1) |