]> granicus.if.org Git - python/commitdiff
Can't return 0 from void function...
authorGuido van Rossum <guido@python.org>
Fri, 23 May 1997 00:19:20 +0000 (00:19 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 23 May 1997 00:19:20 +0000 (00:19 +0000)
Python/pythonrun.c

index fdfb8c66995ef9999f8f99bb8953fdc1015b910b..b458d7a37ab5f06c43a6c087c6fa6234a02581bf 100644 (file)
@@ -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);