[Python-checkins] python/dist/src/Python thread.c,2.43,2.44
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Tue, 25 Jun 2002 12:26:36 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv4935
Modified Files:
thread.c
Log Message:
Silence compiler warning
Index: thread.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread.c,v
retrieving revision 2.43
retrieving revision 2.44
diff -C2 -d -r2.43 -r2.44
*** thread.c 11 Jun 2002 06:22:31 -0000 2.43
--- thread.c 25 Jun 2002 19:26:34 -0000 2.44
***************
*** 60,64 ****
#ifdef Py_DEBUG
static int thread_debug = 0;
! #define dprintf(args) ((thread_debug & 1) && printf args)
#define d2printf(args) ((thread_debug & 8) && printf args)
#else
--- 60,64 ----
#ifdef Py_DEBUG
static int thread_debug = 0;
! #define dprintf(args) (void)((thread_debug & 1) && printf args)
#define d2printf(args) ((thread_debug & 8) && printf args)
#else