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

neal.norwitz python-checkins at python.org
Mon Jun 12 04:16:11 CEST 2006


Author: neal.norwitz
Date: Mon Jun 12 04:16:10 2006
New Revision: 46883
Modified:
 python/trunk/Python/ceval.c
Log:
i and j are initialized below when used. No need to do it twice
Modified: python/trunk/Python/ceval.c
==============================================================================
--- python/trunk/Python/ceval.c	(original)
+++ python/trunk/Python/ceval.c	Mon Jun 12 04:16:10 2006
@@ -2766,7 +2766,7 @@
 	/* Allocate and initialize storage for cell vars, and copy free
 	 vars into frame. This isn't too efficient right now. */
 	if (PyTuple_GET_SIZE(co->co_cellvars)) {
-		int i = 0, j = 0, nargs, found;
+		int i, j, nargs, found;
 		char *cellname, *argname;
 		PyObject *c;
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /