[Python-checkins] cpython: Issue #11223: fix compiler warnings
victor.stinner
python-checkins at python.org
Wed Apr 20 12:24:04 CEST 2011
http://hg.python.org/cpython/rev/64008d17fb54
changeset: 69466:64008d17fb54
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Wed Apr 20 12:23:26 2011 +0200
summary:
Issue #11223: fix compiler warnings
files:
Python/thread.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Python/thread.c b/Python/thread.c
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -420,8 +420,11 @@
{
PyObject *info, *value;
int ret;
+#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
+ && defined(_CS_GNU_LIBPTHREAD_VERSION))
char buffer[255];
int len;
+#endif
info = PyDict_New();
if (info == NULL)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list