mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Keep gcc -Wall happy.
This commit is contained in:
parent
60fca2c90f
commit
a376cc5cc8
27 changed files with 93 additions and 56 deletions
|
@ -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 */
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue