bpo-39164: Fix compiler warning in PyErr_GetExcInfo() (GH-18010)
The function has no return value.
This commit is contained in:
parent
cf288b53e4
commit
3f12ac18a4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue