From 314fc79ce8ffa79fbe42d26a4dc350b901d9341b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 14 Apr 2002 09:53:49 +0000 Subject: [PATCH] Patch #542659: Eliminate duplicate check for NULL of freevars/cellvars. --- Python/compile.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Python/compile.c b/Python/compile.c index de0a8e235a6..4340522fd88 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -286,11 +286,7 @@ PyCode_New(int argcount, int nlocals, int stacksize, int flags, } intern_strings(names); intern_strings(varnames); - if (freevars == NULL) - freevars = PyTuple_New(0); intern_strings(freevars); - if (cellvars == NULL) - cellvars = PyTuple_New(0); intern_strings(cellvars); /* Intern selected string constants */ for (i = PyTuple_Size(consts); --i >= 0; ) {