diff --git a/src/zm_buffer.h b/src/zm_buffer.h index 3f2343b1a..af043ae13 100644 --- a/src/zm_buffer.h +++ b/src/zm_buffer.h @@ -151,7 +151,7 @@ public: { if ( mSize == 0 ) mHead = mTail = mStorage; - else if ( level >= 1 ) + else if ( level ) { if ( (mHead-mStorage) > mSize ) { @@ -159,12 +159,6 @@ public: mHead = mStorage; mTail = mHead + mSize; } - else if ( level >= 2 ) - { - memmove( mStorage, mHead, mSize ); - mHead = mStorage; - mTail = mHead + mSize; - } } } }