From c5730c4ff02b20d135fbd99fe1e6e20214fa1ca6 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 11 Nov 2024 06:41:55 -0800 Subject: [PATCH] fix warning --- xwords4/common/device.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/xwords4/common/device.c b/xwords4/common/device.c index e0fbc1020..4761ca038 100644 --- a/xwords4/common/device.c +++ b/xwords4/common/device.c @@ -274,17 +274,17 @@ appendToStorage( XP_UCHAR* storage, int* offset, return start; } -#ifdef DEBUG -static void -logPtrs( const char* func, int nTopics, char* topics[] ) -{ - for ( int ii = 0; ii < nTopics; ++ii ) { - XP_LOGFF( "from %s; topics[%d] = %s", func, ii, topics[ii] ); - } -} -#else -# define logPtrs(func, nTopics, topics) -#endif +/* #ifdef DEBUG */ +/* static void */ +/* logPtrs( const char* func, int nTopics, char* topics[] ) */ +/* { */ +/* for ( int ii = 0; ii < nTopics; ++ii ) { */ +/* XP_LOGFF( "from %s; topics[%d] = %s", func, ii, topics[ii] ); */ +/* } */ +/* } */ +/* #else */ +/* # define logPtrs(func, nTopics, topics) */ +/* #endif */ void dvc_getMQTTSubTopics( XW_DUtilCtxt* dutil, XWEnv xwe,