diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-04-26 03:48:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-26 03:48:51 (GMT) |
commit | 99e69d44f499625786a2e6461a954adcd0037d69 (patch) | |
tree | 335af538c16794abb8255e3f5e86a30d6adf15b8 /Python | |
parent | 4d29983185bc12ca685a1eb3873bacb8a7b67416 (diff) | |
download | cpython-99e69d44f499625786a2e6461a954adcd0037d69.zip cpython-99e69d44f499625786a2e6461a954adcd0037d69.tar.gz cpython-99e69d44f499625786a2e6461a954adcd0037d69.tar.bz2 |
bpo-36710: Fix compiler warning on PyThreadState_Delete() (GH-12962)
_PyThreadState_Delete() has no return value.
Diffstat (limited to 'Python')
-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 f964f49..e9c4c7d 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); } |