fix to compile when DEBUG not set

This commit is contained in:
Eric House 2013-07-07 13:17:26 -07:00
parent 0f104db88c
commit 923d41e0ee
2 changed files with 4 additions and 1 deletions

View file

@ -1066,7 +1066,9 @@ addToQueue( CommsCtxt* comms, MsgQueueElem* newMsgElem )
}
++comms->queueLen;
XP_ASSERT( comms->queueLen <= 128 ); /* reasonable limit in testing */
#ifdef DEBUG
printQueue( comms );
#endif
} /* addToQueue */
#ifdef DEBUG

View file

@ -1517,7 +1517,8 @@ curses_util_makeStreamFromAddr(XW_UtilCtxt* uc, XP_PlayerAddr channelNo )
#ifdef XWFEATURE_CHAT
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;
globals->nChatsSent = 0;