]> granicus.if.org Git - python/commitdiff
Silence compiler warning
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 25 Jun 2002 19:26:34 +0000 (19:26 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 25 Jun 2002 19:26:34 +0000 (19:26 +0000)
Python/thread.c

index 1c5e685e9af42c20ba2813f17af13a9f1f69ed76..c0b763ce7bff9a8b375e92d73e2b1ce1bd206d21 100644 (file)
@@ -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)