Commit 77029dd0 authored by Victor Stinner's avatar Victor Stinner

Issue #11223: fix compiler warnings

parent e546dd84
......@@ -420,8 +420,11 @@ _PyThread_Info(void)
{
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment