bpo-36710: Fix compiler warning on PyThreadState_Delete() (GH-12962)
_PyThreadState_Delete() has no return value.
This commit is contained in:
parent
4d29983185
commit
99e69d44f4
|
@ -826,7 +826,7 @@ _PyThreadState_Delete(_PyRuntimeState *runtime, PyThreadState *tstate)
|
|||
void
|
||||
PyThreadState_Delete(PyThreadState *tstate)
|
||||
{
|
||||
return _PyThreadState_Delete(&_PyRuntime, tstate);
|
||||
_PyThreadState_Delete(&_PyRuntime, tstate);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue