mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
Silence compiler warning
This commit is contained in:
parent
867de944b4
commit
bd23289e4d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue