]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #15893: Remove dead code
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 27 Jul 2013 00:41:03 +0000 (02:41 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 27 Jul 2013 00:41:03 +0000 (02:41 +0200)
Python/frozenmain.c

index 98f46ebdb2dd5f8299304c69a4901e0ca504115d..8b1f2d4bbe6452b123b0d27983b6d9336dc0b510 100644 (file)
@@ -44,11 +44,6 @@ Py_FrozenMain(int argc, char **argv)
         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++) {