mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
comment out unnecessary assert
This commit is contained in:
parent
2744e8698c
commit
90b8f966f6
1 changed files with 5 additions and 4 deletions
|
@ -533,9 +533,9 @@ processReconnect( const unsigned char* bufp, int bufLen, const AddrInfo* addr )
|
|||
wantsPublic, makePublic );
|
||||
success = scr.Reconnect( srcID, nPlayersH, nPlayersT, gameSeed,
|
||||
&err );
|
||||
if ( !success ) {
|
||||
assert( err != XWRELAY_ERROR_NONE );
|
||||
}
|
||||
// if ( !success ) {
|
||||
// assert( err != XWRELAY_ERROR_NONE );
|
||||
// }
|
||||
} else {
|
||||
err = XWRELAY_ERROR_BADPROTO;
|
||||
}
|
||||
|
@ -1218,8 +1218,9 @@ msgToStr( XWRelayReg msg )
|
|||
CASE_STR(XWPDEV_MSGNOCONN);
|
||||
CASE_STR(XWPDEV_MSGRSP);
|
||||
CASE_STR(XWPDEV_BADREG);
|
||||
CASE_STR(XWPDEV_ALERT); // should not receive this....
|
||||
default:
|
||||
assert(0);
|
||||
str = "<unknown>";
|
||||
break;
|
||||
}
|
||||
# undef CASE_STR
|
||||
|
|
Loading…
Add table
Reference in a new issue