summaryrefslogtreecommitdiffstats
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r--Python/frozenmain.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index 8bc136a..2aee249 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -38,7 +38,6 @@ main(argc, argv)
{
char *p;
int n, inspect, sts;
- int n;
if ((p = getenv("PYTHONDEBUG")) && *p != '\0')
debugging = 1;
@@ -63,8 +62,7 @@ main(argc, argv)
else
sts = 0;
- if (inspect && isatty((int)fileno(stdin)) &&
- (filename != NULL || command != NULL))
+ if (inspect && isatty((int)fileno(stdin)))
sts = run(stdin, "<stdin>") != 0;
goaway(sts);