diff --git a/xwords4/common/comms.c b/xwords4/common/comms.c index 7dbad2be1..ccb3e867d 100644 --- a/xwords4/common/comms.c +++ b/xwords4/common/comms.c @@ -232,6 +232,8 @@ static void logAddrs( const CommsCtxt* comms, const char* caller ); # else # define printQueue( comms ) +# define logAddr( comms, addr, caller) +# define logAddrs( comms, caller ) # endif #endif #if defined RELAY_HEARTBEAT || defined COMMS_HEARTBEAT diff --git a/xwords4/common/game.c b/xwords4/common/game.c index 978b1d0e9..03a38a11f 100644 --- a/xwords4/common/game.c +++ b/xwords4/common/game.c @@ -760,6 +760,7 @@ player_timePenalty( CurGameInfo* gi, XP_U16 playerNum ) return result; } /* player_timePenalty */ +#ifdef DEBUG void game_logGI( const CurGameInfo* gi, const char* msg ) { @@ -776,6 +777,7 @@ game_logGI( const CurGameInfo* gi, const char* msg ) XP_LOGF( " gameID: %d", gi->gameID ); XP_LOGF( " dictName: %s", gi->dictName ); } +#endif #ifdef CPLUS }