diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-14 10:57:07 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-14 10:57:07 +0200 |
commit | 7188a1f670d3ffeb46c2e914234f2b6009c41599 (patch) | |
tree | a4a2899805e1253a97e604d62d7def70d302f1c3 /src/ByteBuffer.cpp | |
parent | Fixed order of initalisation (diff) | |
parent | Reduced cPluginManager code duplication (diff) | |
download | cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.gz cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.bz2 cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.lz cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.xz cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.tar.zst cuberite-7188a1f670d3ffeb46c2e914234f2b6009c41599.zip |
Diffstat (limited to 'src/ByteBuffer.cpp')
-rw-r--r-- | src/ByteBuffer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp index 4de89f7c1..d77f402fd 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -762,7 +762,6 @@ bool cByteBuffer::ReadUTF16String(AString & a_String, size_t a_NumChars) // Reads 2 * a_NumChars bytes and interprets it as a UTF16 string, converting it into UTF8 string a_String CHECK_THREAD; CheckValid(); - ASSERT(a_NumChars >= 0); AString RawData; if (!ReadString(RawData, a_NumChars * 2)) { |