fix non-debug compile warning

This commit is contained in:
Andy2 2011-08-16 19:17:47 -07:00 committed by Andy2
parent 47bdec4eda
commit c41af221b7

View file

@ -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 );