Kaydet (Commit) 578d3fc5 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

warning C4505: unreferenced local function has been removed

Change-Id: I2b9b43c40a467dd369f1eeb3623be388c51d3b4d
üst 945f9001
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment