8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00

Simplification.

This commit is contained in:
robocop 2008-12-21 10:49:48 +00:00
parent 1100c71c26
commit 45062eef99

View File

@ -297,8 +297,7 @@ void ClumpletWriter::insertBytesLengthCheck(UCHAR tag, const UCHAR* bytes, const
break;
}
dynamic_buffer.insert(cur_offset, bytes, length);
cur_offset += length;
const size_t new_offset = cur_offset;
const size_t new_offset = cur_offset + length;
cur_offset = saved_offset;
adjustSpbState();
cur_offset = new_offset;