Mercurial > cpython-lru_cache-weakref
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 23991:4ab9df2416f9 | 23992:95da99187c57 |
|---|---|
| 57 #endif /* _POSIX_THREADS */ | 57 #endif /* _POSIX_THREADS */ |
| 58 | 58 |
| 59 | 59 |
| 60 #ifdef Py_DEBUG | 60 #ifdef Py_DEBUG |
| 61 static int thread_debug = 0; | 61 static int thread_debug = 0; |
| 62 #define dprintf(args) ((thread_debug & 1) && printf args) | 62 #define dprintf(args) (void)((thread_debug & 1) && printf args) |
| 63 #define d2printf(args) ((thread_debug & 8) && printf args) | 63 #define d2printf(args) ((thread_debug & 8) && printf args) |
| 64 #else | 64 #else |
| 65 #define dprintf(args) | 65 #define dprintf(args) |
| 66 #define d2printf(args) | 66 #define d2printf(args) |
| 67 #endif | 67 #endif |
