summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-23 00:19:20 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-23 00:19:20 (GMT)
commit296b4751e1dc6b40504e45e795d52594bee720d2 (patch)
treed8ba0ec5b90fbc641fc3154651828f699633a459 /Python
parentc8b6df90045a3f419e6fab272d93ad4159e54ccc (diff)
downloadcpython-296b4751e1dc6b40504e45e795d52594bee720d2.zip
cpython-296b4751e1dc6b40504e45e795d52594bee720d2.tar.gz
cpython-296b4751e1dc6b40504e45e795d52594bee720d2.tar.bz2
Can't return 0 from void function...
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index fdfb8c6..b458d7a 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -329,7 +329,7 @@ PyErr_Print()
PyObject *exception, *v, *tb, *f;
PyErr_Fetch(&exception, &v, &tb);
if (exception == NULL)
- return 0;
+ return;
if (exception == PyExc_SystemExit) {
err = Py_FlushLine();
fflush(stdout);