bpo-36710: Fix compiler warning on PyThreadState_Delete() (GH-12962)

_PyThreadState_Delete() has no return value.
This commit is contained in:
Victor Stinner 2019-04-26 05:48:51 +02:00 committed by GitHub
parent 4d29983185
commit 99e69d44f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -826,7 +826,7 @@ _PyThreadState_Delete(_PyRuntimeState *runtime, PyThreadState *tstate)
void
PyThreadState_Delete(PyThreadState *tstate)
{
return _PyThreadState_Delete(&_PyRuntime, tstate);
_PyThreadState_Delete(&_PyRuntime, tstate);
}