diff options
author | worktycho <work.tycho@gmail.com> | 2014-06-11 11:04:34 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-06-11 11:04:34 +0200 |
commit | 3e258523821e67a5892fe44dd585bae896866d9a (patch) | |
tree | dc42a5816e390dee7b5e23c35a6887a3fd8997c2 /src/ByteBuffer.cpp | |
parent | Update GETTING-STARTED.md (diff) | |
download | cuberite-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 |
Diffstat (limited to '')
-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)) { |