1
0

Removed assert that is now informed by type system

This commit is contained in:
worktycho 2014-06-11 10:04:34 +01:00
parent 8695928dd1
commit 3e25852382

View File

@ -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 // Reads 2 * a_NumChars bytes and interprets it as a UTF16 string, converting it into UTF8 string a_String
CHECK_THREAD; CHECK_THREAD;
CheckValid(); CheckValid();
ASSERT(a_NumChars >= 0);
AString RawData; AString RawData;
if (!ReadString(RawData, a_NumChars * 2)) if (!ReadString(RawData, a_NumChars * 2))
{ {