mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
add assert toward removing (redundant) method
This commit is contained in:
parent
3921da97b9
commit
df5da2c4aa
1 changed files with 3 additions and 0 deletions
|
@ -407,8 +407,11 @@ mem_stream_open( XWStreamCtxt* p_sctx )
|
|||
{
|
||||
MemStreamCtxt* stream = (MemStreamCtxt*)p_sctx;
|
||||
|
||||
XP_ASSERT( stream->nBytesWritten == 0);
|
||||
stream->nBytesWritten = 0;
|
||||
XP_ASSERT( stream->curReadPos == START_OF_STREAM );
|
||||
stream->curReadPos = START_OF_STREAM;
|
||||
XP_ASSERT( stream->curWritePos == START_OF_STREAM );
|
||||
stream->curWritePos = START_OF_STREAM;
|
||||
} /* mem_stream_open */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue