mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +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 );
|
||||
|
||||
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 );
|
||||
} else {
|
||||
(*env)->ReleaseByteArrayElements( env, ctxt->byteArray, ctxt->bytes, 0 );
|
||||
|
|
Loading…
Add table
Reference in a new issue