mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-15 08:47:56 +01:00
fix warning
This commit is contained in:
parent
a90efdec85
commit
c5730c4ff0
1 changed files with 11 additions and 11 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue