[Python-checkins] cpython (3.3): Issue #15893: Remove dead code

victor.stinner python-checkins at python.org
Sat Jul 27 02:42:08 CEST 2013


http://hg.python.org/cpython/rev/12af9db5212a
changeset:   84862:12af9db5212a
branch:      3.3
parent:      84857:ab8121466785
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sat Jul 27 02:41:03 2013 +0200
summary:
  Issue #15893: Remove dead code

files:
  Python/frozenmain.c |  5 -----
  1 files changed, 0 insertions(+), 5 deletions(-)


diff --git a/Python/frozenmain.c b/Python/frozenmain.c
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -44,11 +44,6 @@
         setbuf(stderr, (char *)NULL);
     }
 
-    if (!argv_copy) {
-        fprintf(stderr, "out of memory\n");
-        return 1;
-    }
-
     oldloc = setlocale(LC_ALL, NULL);
     setlocale(LC_ALL, "");
     for (i = 0; i < argc; i++) {

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list