diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-04-27 21:42:29 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-04-27 21:42:29 +0200 |
commit | 35dc88e4ff6ea3e1076b4ac167cb19002b182977 (patch) | |
tree | d5bf25ca025457ce2a9a4ae987d1c15492bada72 /src/ByteBuffer.cpp | |
parent | Removed old unused code (diff) | |
download | cuberite-35dc88e4ff6ea3e1076b4ac167cb19002b182977.tar cuberite-35dc88e4ff6ea3e1076b4ac167cb19002b182977.tar.gz cuberite-35dc88e4ff6ea3e1076b4ac167cb19002b182977.tar.bz2 cuberite-35dc88e4ff6ea3e1076b4ac167cb19002b182977.tar.lz cuberite-35dc88e4ff6ea3e1076b4ac167cb19002b182977.tar.xz cuberite-35dc88e4ff6ea3e1076b4ac167cb19002b182977.tar.zst cuberite-35dc88e4ff6ea3e1076b4ac167cb19002b182977.zip |
Diffstat (limited to 'src/ByteBuffer.cpp')
-rw-r--r-- | src/ByteBuffer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp index c634dc308..24f91b195 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -887,9 +887,7 @@ void cByteBuffer::AdvanceReadPos(size_t a_Count) void cByteBuffer::CheckValid(void) const { - ASSERT(m_ReadPos >= 0); ASSERT(m_ReadPos < m_BufferSize); - ASSERT(m_WritePos >= 0); ASSERT(m_WritePos < m_BufferSize); } |