mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
fix unused var warning in release build
This commit is contained in:
parent
81d41a621f
commit
28265749f9
2 changed files with 6 additions and 4 deletions
|
@ -1401,13 +1401,15 @@ positionSizeStuff( CursesAppGlobals* globals, int width, int height )
|
|||
} /* positionSizeStuff */
|
||||
|
||||
static void
|
||||
relay_status_curses( void* XP_UNUSED(closure), CommsRelayState state )
|
||||
relay_status_curses( void* XP_UNUSED(closure),
|
||||
CommsRelayState XP_UNUSED_DBG(state) )
|
||||
{
|
||||
XP_LOGF( "%s got status: %s", __func__, CommsRelayState2Str(state) );
|
||||
}
|
||||
|
||||
static void
|
||||
relay_connd_curses( void* XP_UNUSED(closure), XP_Bool allHere, XP_U16 nMissing )
|
||||
relay_connd_curses( void* XP_UNUSED(closure), XP_Bool XP_UNUSED_DBG(allHere),
|
||||
XP_U16 XP_UNUSED_DBG(nMissing) )
|
||||
{
|
||||
XP_LOGF( "%s got allHere: %d; nMissing: %d", __func__, allHere, nMissing );
|
||||
}
|
||||
|
|
|
@ -318,8 +318,8 @@ relay_connd_gtk( void* closure, XP_Bool allHere, XP_U16 nMissing )
|
|||
snprintf( buf, sizeof(buf), "Connected to relay as host; waiting "
|
||||
"for %d player[s].", nMissing );
|
||||
} else if ( nMissing > 0 ) {
|
||||
snprintf( buf, sizeof(buf), "Connected to relay as guest. Still waiting "
|
||||
"for %d player[s].", nMissing );
|
||||
snprintf( buf, sizeof(buf), "Connected to relay as guest. Still "
|
||||
"waiting for %d player[s].", nMissing );
|
||||
} else {
|
||||
/* an allHere message should be coming immediately, so no
|
||||
notification now. */
|
||||
|
|
Loading…
Reference in a new issue