[Python-checkins] cpython: no one passes NULL here (or should anyway)

benjamin.peterson python-checkins at python.org
Mon Jul 4 00:02:33 CEST 2011


http://hg.python.org/cpython/rev/bbbeddafeec0
changeset:   71160:bbbeddafeec0
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Jul 03 17:06:32 2011 -0500
summary:
  no one passes NULL here (or should anyway)

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


diff --git a/Python/ceval.c b/Python/ceval.c
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1115,9 +1115,6 @@
 
 /* Start of code */
 
-    if (f == NULL)
-        return NULL;
-
     /* push frame */
     if (Py_EnterRecursiveCall(""))
         return NULL;

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


More information about the Python-checkins mailing list