Skip to content

Commit 0d7c5ec

Browse files
author
jhylton
committed
Silence compiler warning
git-svn-id: http://svn.python.org/projects/python/trunk@27361 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent cd5c584 commit 0d7c5ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extern char *getenv(const char *);
5959

6060
#ifdef Py_DEBUG
6161
static int thread_debug = 0;
62-
#define dprintf(args) ((thread_debug & 1) && printf args)
62+
#define dprintf(args) (void)((thread_debug & 1) && printf args)
6363
#define d2printf(args) ((thread_debug & 8) && printf args)
6464
#else
6565
#define dprintf(args)

0 commit comments

Comments
 (0)