summaryrefslogtreecommitdiffstats
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-07-27 00:41:03 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-07-27 00:41:03 (GMT)
commitda2cbb4fc81d12f1ee9150e72ec55fde47388a28 (patch)
treeff1c074d2a08fa5de34e26b8c581a316336fa06c /Python/frozenmain.c
parent36577e4e8cf967083dea762407ba9d9d28de5b8a (diff)
downloadcpython-da2cbb4fc81d12f1ee9150e72ec55fde47388a28.zip
cpython-da2cbb4fc81d12f1ee9150e72ec55fde47388a28.tar.gz
cpython-da2cbb4fc81d12f1ee9150e72ec55fde47388a28.tar.bz2
Issue #15893: Remove dead code
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r--Python/frozenmain.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index 98f46eb..8b1f2d4 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -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++) {