From 62dacb83d8a5409038f924226d613ce3e899288d Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 16 Jul 2013 08:17:46 -0700 Subject: [PATCH] fix to compile when DEBUG not defined --- xwords4/common/comms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/common/comms.c b/xwords4/common/comms.c index 3a99b4edc..cc187d3cb 100644 --- a/xwords4/common/comms.c +++ b/xwords4/common/comms.c @@ -1132,6 +1132,7 @@ assertQueueOk( const CommsCtxt* comms ) XP_LOGF( "%s: queueLen unexpectedly high: %d", __func__, count ); } } +#endif static XP_Bool elems_same( const MsgQueueElem* elem1, const MsgQueueElem* elem2 ) @@ -1142,7 +1143,6 @@ elems_same( const MsgQueueElem* elem1, const MsgQueueElem* elem2 ) && 0 == XP_MEMCMP( elem1->msg, elem2->msg, elem1->len ); return same; } -#endif static void freeElem( const CommsCtxt* XP_UNUSED_DBG(comms), MsgQueueElem* elem )