diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-04-26 05:48:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-26 05:48:51 +0200 |
commit | 99e69d44f499625786a2e6461a954adcd0037d69 (patch) | |
tree | 335af538c16794abb8255e3f5e86a30d6adf15b8 /Python/pystate.c | |
parent | 4d29983185bc12ca685a1eb3873bacb8a7b67416 (diff) | |
download | cpython-git-99e69d44f499625786a2e6461a954adcd0037d69.tar.gz |
bpo-36710: Fix compiler warning on PyThreadState_Delete() (GH-12962)
_PyThreadState_Delete() has no return value.
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index f964f4951b..e9c4c7d837 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -826,7 +826,7 @@ _PyThreadState_Delete(_PyRuntimeState *runtime, PyThreadState *tstate) void PyThreadState_Delete(PyThreadState *tstate) { - return _PyThreadState_Delete(&_PyRuntime, tstate); + _PyThreadState_Delete(&_PyRuntime, tstate); } |