Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bd23289

Browse files
committed
Silence compiler warning
1 parent 867de94 commit bd23289

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)