summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-06-11 11:04:34 +0200
committerworktycho <work.tycho@gmail.com>2014-06-11 11:04:34 +0200
commit3e258523821e67a5892fe44dd585bae896866d9a (patch)
treedc42a5816e390dee7b5e23c35a6887a3fd8997c2
parentUpdate GETTING-STARTED.md (diff)
downloadcuberite-3e258523821e67a5892fe44dd585bae896866d9a.tar
cuberite-3e258523821e67a5892fe44dd585bae896866d9a.tar.gz
cuberite-3e258523821e67a5892fe44dd585bae896866d9a.tar.bz2
cuberite-3e258523821e67a5892fe44dd585bae896866d9a.tar.lz
cuberite-3e258523821e67a5892fe44dd585bae896866d9a.tar.xz
cuberite-3e258523821e67a5892fe44dd585bae896866d9a.tar.zst
cuberite-3e258523821e67a5892fe44dd585bae896866d9a.zip
-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))
{