From: Jeremy Hylton Date: Tue, 25 Jun 2002 19:26:34 +0000 (+0000) Subject: Silence compiler warning X-Git-Tag: v2.3c1~5219 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd23289e4dd6449027e8071e802a4ac5c78739ba;p=python Silence compiler warning --- diff --git a/Python/thread.c b/Python/thread.c index 1c5e685e9a..c0b763ce7b 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -59,7 +59,7 @@ extern char *getenv(const char *); #ifdef Py_DEBUG static int thread_debug = 0; -#define dprintf(args) ((thread_debug & 1) && printf args) +#define dprintf(args) (void)((thread_debug & 1) && printf args) #define d2printf(args) ((thread_debug & 8) && printf args) #else #define dprintf(args)