mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #11223: fix compiler warnings
This commit is contained in:
parent
3def7e0f01
commit
e07f522c7f
1 changed files with 3 additions and 0 deletions
|
@ -420,8 +420,11 @@ _PyThread_Info(void)
|
||||||
{
|
{
|
||||||
PyObject *info, *value;
|
PyObject *info, *value;
|
||||||
int ret;
|
int ret;
|
||||||
|
#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
|
||||||
|
&& defined(_CS_GNU_LIBPTHREAD_VERSION))
|
||||||
char buffer[255];
|
char buffer[255];
|
||||||
int len;
|
int len;
|
||||||
|
#endif
|
||||||
|
|
||||||
info = PyDict_New();
|
info = PyDict_New();
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue