diff options
author | Victor Stinner <vstinner@python.org> | 2020-01-15 10:23:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 10:23:25 (GMT) |
commit | 3f12ac18a407983a23d43ae785e805e773571477 (patch) | |
tree | 8fa39be8043cbe362ecb61e4f39a4dd8fe55dcfa /Python | |
parent | cf288b53e418d8e93626e3d87c9926067d3b3147 (diff) | |
download | cpython-3f12ac18a407983a23d43ae785e805e773571477.zip cpython-3f12ac18a407983a23d43ae785e805e773571477.tar.gz cpython-3f12ac18a407983a23d43ae785e805e773571477.tar.bz2 |
bpo-39164: Fix compiler warning in PyErr_GetExcInfo() (GH-18010)
The function has no return value.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c index cdb4460..18ea9c5 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -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 |