8000 bpo-36710: Fix compiler warning on PyThreadState_Delete() (GH-12962) · python/cpython@99e69d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99e69d4

Browse files
authored
bpo-36710: Fix compiler warning on PyThreadState_Delete() (GH-12962)
_PyThreadState_Delete() has no return value.
1 parent 4d29983 commit 99e69d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/pystate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ _PyThreadState_Delete(_PyRuntimeState *runtime, PyThreadState *tstate)
826826
void
827827
PyThreadState_Delete(PyThreadState *tstate)
828828
{
829-
return _PyThreadState_Delete(&_PyRuntime, tstate);
829+
_PyThreadState_Delete(&_PyRuntime, tstate);
830830
}
831831

832832

0 commit comments

Comments
 (0)
0