mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
fix to compile when DEBUG not set
This commit is contained in:
parent
0f104db88c
commit
923d41e0ee
2 changed files with 4 additions and 1 deletions
|
@ -1066,7 +1066,9 @@ addToQueue( CommsCtxt* comms, MsgQueueElem* newMsgElem )
|
||||||
}
|
}
|
||||||
++comms->queueLen;
|
++comms->queueLen;
|
||||||
XP_ASSERT( comms->queueLen <= 128 ); /* reasonable limit in testing */
|
XP_ASSERT( comms->queueLen <= 128 ); /* reasonable limit in testing */
|
||||||
|
#ifdef DEBUG
|
||||||
printQueue( comms );
|
printQueue( comms );
|
||||||
|
#endif
|
||||||
} /* addToQueue */
|
} /* addToQueue */
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
|
@ -1517,7 +1517,8 @@ curses_util_makeStreamFromAddr(XW_UtilCtxt* uc, XP_PlayerAddr channelNo )
|
||||||
|
|
||||||
#ifdef XWFEATURE_CHAT
|
#ifdef XWFEATURE_CHAT
|
||||||
static void
|
static void
|
||||||
curses_util_showChat( XW_UtilCtxt* uc, const XP_UCHAR* const msg )
|
curses_util_showChat( XW_UtilCtxt* uc,
|
||||||
|
const XP_UCHAR* const XP_UNUSED_DBG(msg) )
|
||||||
{
|
{
|
||||||
CursesAppGlobals* globals = (CursesAppGlobals*)uc->closure;
|
CursesAppGlobals* globals = (CursesAppGlobals*)uc->closure;
|
||||||
globals->nChatsSent = 0;
|
globals->nChatsSent = 0;
|
||||||
|
|
Loading…
Reference in a new issue