From e248c3394d7a2a76cfb39e0955ebab648ecc2bf0 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 9 Jan 2016 21:44:27 +0100 Subject: Sanitized various macros Signed-off-by: Haru --- src/common/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/db.c') diff --git a/src/common/db.c b/src/common/db.c index 361e212cb..ca9a70f7c 100644 --- a/src/common/db.c +++ b/src/common/db.c @@ -353,7 +353,7 @@ static struct db_stats { }; #define DB_COUNTSTAT(token) do { if ((stats.token) != UINT32_MAX) ++(stats.token); } while(0) #else /* !defined(DB_ENABLE_STATS) */ -#define DB_COUNTSTAT(token) +#define DB_COUNTSTAT(token) (void)0 #endif /* !defined(DB_ENABLE_STATS) */ /* [Ind/Hercules] */ -- cgit v1.2.3-60-g2f50