summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-15 02:52:08 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-15 02:52:08 (GMT)
commit7c14103d77e02f3ee66d39d15fda6090ab2965f7 (patch)
tree00a62840f6ed995a8d8824cc45515caa3c3a946c /Python
parentf0b69f01eba87dcd56b9ed0a5be2fd7149f20b7a (diff)
downloadcpython-7c14103d77e02f3ee66d39d15fda6090ab2965f7.zip
cpython-7c14103d77e02f3ee66d39d15fda6090ab2965f7.tar.gz
cpython-7c14103d77e02f3ee66d39d15fda6090ab2965f7.tar.bz2
Keep gcc -Wall happy
Diffstat (limited to 'Python')
-rw-r--r--Python/frozenmain.c4
-rw-r--r--Python/import.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index d5a398b..755033c 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -77,6 +77,6 @@ Py_FrozenMain(argc, argv)
if (inspect && isatty((int)fileno(stdin)))
sts = PyRun_AnyFile(stdin, "<stdin>") != 0;
- Py_Exit(sts);
- /*NOTREACHED*/
+ Py_Finalize();
+ return sts;
}
diff --git a/Python/import.c b/Python/import.c
index 2368143..fe24b28 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -692,7 +692,6 @@ static int
init_builtin(name)
char *name;
{
- PyInterpreterState *interp = PyThreadState_Get()->interp;
struct _inittab *p;
PyObject *mod;