diff --git a/xwords4/common/comms.c b/xwords4/common/comms.c index 4835842c2..04c32f9ba 100644 --- a/xwords4/common/comms.c +++ b/xwords4/common/comms.c @@ -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 diff --git a/xwords4/linux/cursesmain.c b/xwords4/linux/cursesmain.c index c3cd2eb44..84f73b0ec 100644 --- a/xwords4/linux/cursesmain.c +++ b/xwords4/linux/cursesmain.c @@ -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;