Commit 99e69d44 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

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

_PyThreadState_Delete() has no return value.
parent 4d299831
...@@ -826,7 +826,7 @@ _PyThreadState_Delete(_PyRuntimeState *runtime, PyThreadState *tstate) ...@@ -826,7 +826,7 @@ _PyThreadState_Delete(_PyRuntimeState *runtime, PyThreadState *tstate)
void void
PyThreadState_Delete(PyThreadState *tstate) PyThreadState_Delete(PyThreadState *tstate)
{ {
return _PyThreadState_Delete(&_PyRuntime, tstate); _PyThreadState_Delete(&_PyRuntime, tstate);
} }
......
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