summaryrefslogtreecommitdiffstats
path: root/Modules/main.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 23:43:35 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 23:43:35 (GMT)
commita376cc5cc86c62f912886c4002ed1a9b3b213b88 (patch)
treed505b439cc8f6aac1ba75374b6652857273274c0 /Modules/main.c
parent60fca2c90fe4d00715f4ae28d68560e67955ab9b (diff)
downloadcpython-a376cc5cc86c62f912886c4002ed1a9b3b213b88.zip
cpython-a376cc5cc86c62f912886c4002ed1a9b3b213b88.tar.gz
cpython-a376cc5cc86c62f912886c4002ed1a9b3b213b88.tar.bz2
Keep gcc -Wall happy.
Diffstat (limited to 'Modules/main.c')
-rw-r--r--Modules/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 6027d28..2a8bbde 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -174,7 +174,7 @@ main(argc, argv)
filename = argv[optind];
if (Py_VerboseFlag ||
- command == NULL && filename == NULL && isatty((int)fileno(fp)))
+ (command == NULL && filename == NULL && isatty((int)fileno(fp))))
fprintf(stderr, "Python %s\n%s\n",
Py_GetVersion(), Py_GetCopyright());
@@ -222,7 +222,7 @@ main(argc, argv)
sts = PyRun_AnyFile(stdin, "<stdin>") != 0;
Py_Exit(sts);
- /*NOTREACHED*/
+ return 0; /* Make gcc -Wall happy */
}