bpo-39164: Fix compiler warning in PyErr_GetExcInfo() (GH-18010)

The function has no return value.
This commit is contained in:
Victor Stinner 2020-01-15 11:23:25 +01:00 committed by GitHub
parent cf288b53e4
commit 3f12ac18a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ void
PyErr_GetExcInfo(PyObject **p_type, PyObject **p_value, PyObject **p_traceback)
{
PyThreadState *tstate = _PyThreadState_GET();
return _PyErr_GetExcInfo(tstate, p_type, p_value, p_traceback);
_PyErr_GetExcInfo(tstate, p_type, p_value, p_traceback);
}
void