diff Python/thread.c @ 23992:95da99187c57 legacy-trunk

Silence compiler warning
author Jeremy Hylton <jeremy@alum.mit.edu>
date Tue, 25 Jun 2002 19:26:34 +0000
parents bec1b942e0bc
children a8df0c0be242
line wrap: on
line diff
--- a/Python/thread.c	Tue Jun 25 19:20:10 2002 +0000
+++ b/Python/thread.c	Tue Jun 25 19:26:34 2002 +0000
@@ -59,7 +59,7 @@
 
 #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)