mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
test, don't assert: comms can be null
This commit is contained in:
parent
670f7982ea
commit
4ae58342da
1 changed files with 1 additions and 2 deletions
|
@ -1191,8 +1191,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_comms_1isConnected
|
||||||
{
|
{
|
||||||
jboolean result;
|
jboolean result;
|
||||||
XWJNI_START();
|
XWJNI_START();
|
||||||
XP_ASSERT( !!state->game.comms );
|
result = NULL != state->game.comms && comms_isConnected( state->game.comms );
|
||||||
result = comms_isConnected( state->game.comms );
|
|
||||||
XWJNI_END();
|
XWJNI_END();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue