summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-14 10:57:07 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-14 10:57:07 +0200
commit7188a1f670d3ffeb46c2e914234f2b6009c41599 (patch)
treea4a2899805e1253a97e604d62d7def70d302f1c3 /src/ByteBuffer.cpp
parentFixed order of initalisation (diff)
parentReduced cPluginManager code duplication (diff)
downloadcuberite-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.cpp1
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))
{