[Python-checkins] r80817 - python/trunk/Python/ceval.c

brett.cannon python-checkins at python.org
Wed May 5 22:27:49 CEST 2010


Author: brett.cannon
Date: Wed May  5 22:27:49 2010
New Revision: 80817

Log:
Remove an unneeded variable increment.

Found using Clang's static analyzer.


Modified:
   python/trunk/Python/ceval.c

Modified: python/trunk/Python/ceval.c
==============================================================================
--- python/trunk/Python/ceval.c	(original)
+++ python/trunk/Python/ceval.c	Wed May  5 22:27:49 2010
@@ -2697,7 +2697,6 @@
 			    Py_DECREF(*pfunc);
 			    *pfunc = self;
 			    na++;
-			    n++;
 		    } else
 			    Py_INCREF(func);
 		    sp = stack_pointer;


More information about the Python-checkins mailing list