]> granicus.if.org Git - python/commitdiff
i and j are initialized below when used. No need to do it twice
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 12 Jun 2006 02:16:10 +0000 (02:16 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 12 Jun 2006 02:16:10 +0000 (02:16 +0000)
Python/ceval.c

index 278604d86f6f708b66e67b73c8f212e814465404..ef484d9b70faeb6edabfe13dd659b5274203b8a0 100644 (file)
@@ -2766,7 +2766,7 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals,
        /* 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;