mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
fix non-debug compile warning
This commit is contained in:
parent
47bdec4eda
commit
c41af221b7
1 changed files with 4 additions and 1 deletions
|
@ -398,7 +398,10 @@ and_dictionary_destroy( DictionaryCtxt* dict )
|
||||||
XP_FREEP( ctxt->super.mpool, &ctxt->super.langName );
|
XP_FREEP( ctxt->super.mpool, &ctxt->super.langName );
|
||||||
|
|
||||||
if ( NULL == ctxt->byteArray ) { /* mmap case */
|
if ( NULL == ctxt->byteArray ) { /* mmap case */
|
||||||
int err = munmap( ctxt->bytes, ctxt->bytesSize );
|
#ifdef DEBUG
|
||||||
|
int err =
|
||||||
|
#endif
|
||||||
|
munmap( ctxt->bytes, ctxt->bytesSize );
|
||||||
XP_ASSERT( 0 == err );
|
XP_ASSERT( 0 == err );
|
||||||
} else {
|
} else {
|
||||||
(*env)->ReleaseByteArrayElements( env, ctxt->byteArray, ctxt->bytes, 0 );
|
(*env)->ReleaseByteArrayElements( env, ctxt->byteArray, ctxt->bytes, 0 );
|
||||||
|
|
Loading…
Add table
Reference in a new issue