Mercurial > cpython-lru_cache-weakref
comparison Python/thread.c @ 69466:64008d17fb54
Issue #11223: fix compiler warnings
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Wed, 20 Apr 2011 12:23:26 +0200 |
| parents | 383a7301616b |
| children | 2b21fcf3d9a9 |
comparison
equal
deleted
inserted
replaced
| 69465:41dc66528c4e | 69466:64008d17fb54 |
|---|---|
| 418 PyObject* | 418 PyObject* |
| 419 _PyThread_Info(void) | 419 _PyThread_Info(void) |
| 420 { | 420 { |
| 421 PyObject *info, *value; | 421 PyObject *info, *value; |
| 422 int ret; | 422 int ret; |
| 423 #if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \ | |
| 424 && defined(_CS_GNU_LIBPTHREAD_VERSION)) | |
| 423 char buffer[255]; | 425 char buffer[255]; |
| 424 int len; | 426 int len; |
| 427 #endif | |
| 425 | 428 |
| 426 info = PyDict_New(); | 429 info = PyDict_New(); |
| 427 if (info == NULL) | 430 if (info == NULL) |
| 428 return NULL; | 431 return NULL; |
| 429 | 432 |
