diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-04-03 13:58:39 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-04-03 13:58:39 (GMT) |
commit | ae509520de5a0321f58c79afffad10ae59dae8b9 (patch) | |
tree | 8af85c731bb860828a89fcf9908e2fc1005cdcb9 /Modules | |
parent | b05dc00fb7184eaf5bc78ef483a691540ebc1215 (diff) | |
download | cpython-ae509520de5a0321f58c79afffad10ae59dae8b9.zip cpython-ae509520de5a0321f58c79afffad10ae59dae8b9.tar.gz cpython-ae509520de5a0321f58c79afffad10ae59dae8b9.tar.bz2 |
Add missing return statement in an error condition.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 53eb237..6d50e8a 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -4095,7 +4095,7 @@ win32_kill(PyObject *self, PyObject *args) if (sig == CTRL_C_EVENT || sig == CTRL_BREAK_EVENT) { if (GenerateConsoleCtrlEvent(sig, pid) == 0) { err = GetLastError(); - PyErr_SetFromWindowsErr(err); + return PyErr_SetFromWindowsErr(err); } else Py_RETURN_NONE; |