summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-12 09:50:05 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-13 10:10:46 +0200
commit578d3fc5e640e0d61a2c89daaef7b0101a003052 (patch)
tree99bc0352d195fdef054598b2fc8e910548445cd9 /shell
parent945f9001ed2fee3ede105063933f01f12f8fd881 (diff)
warning C4505: unreferenced local function has been removed
Change-Id: I2b9b43c40a467dd369f1eeb3623be388c51d3b4d
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/zipfile/zipfile.cxx11
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)