summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-06-25 19:26:34 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-06-25 19:26:34 (GMT)
commitbd23289e4dd6449027e8071e802a4ac5c78739ba (patch)
tree1695bb0865d2934e203ddff402db9f8ea4e657d4 /Python
parent867de944b46b43af6b890dfdfe442f9d7b17a0b0 (diff)
downloadcpython-bd23289e4dd6449027e8071e802a4ac5c78739ba.zip
cpython-bd23289e4dd6449027e8071e802a4ac5c78739ba.tar.gz
cpython-bd23289e4dd6449027e8071e802a4ac5c78739ba.tar.bz2
Silence compiler warning
Diffstat (limited to 'Python')
-rw-r--r--Python/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread.c b/Python/thread.c
index 1c5e685..c0b763c 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)