mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-26 07:58:52 +01:00
cleanup
This commit is contained in:
parent
d50c808f96
commit
79f07e8751
1 changed files with 1 additions and 4 deletions
|
@ -228,6 +228,7 @@ mpool_free( MemPoolCtx* mpool, void* ptr, const char* file,
|
|||
if ( !entry ) {
|
||||
XP_LOGF( "findEntryFor failed; called from %s, line %ld in %s",
|
||||
func, lineNo, file );
|
||||
XP_ASSERT( 0 );
|
||||
} else {
|
||||
|
||||
#ifdef MPOOL_DEBUG
|
||||
|
@ -251,11 +252,7 @@ mpool_free( MemPoolCtx* mpool, void* ptr, const char* file,
|
|||
|
||||
++mpool->nFree;
|
||||
--mpool->nUsed;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
XP_ASSERT( 0 );
|
||||
} /* mpool_free */
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue