]> granicus.if.org Git - python/commitdiff
com_yield_expr(): Squash new compiler wng about unreferenced local.
authorTim Peters <tim.peters@gmail.com>
Wed, 3 Aug 2005 18:33:05 +0000 (18:33 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 3 Aug 2005 18:33:05 +0000 (18:33 +0000)
Python/compile.c

index 56b3a3e5927b4952942c03ea42489c06f279de73..99ccf292529f4591f16344cfa65acc7a3fa3c754 100644 (file)
@@ -3744,7 +3744,6 @@ com_return_stmt(struct compiling *c, node *n)
 static void
 com_yield_expr(struct compiling *c, node *n)
 {
-       int i;
        REQ(n, yield_expr); /* 'yield' testlist */
        if (!c->c_infunction) {
                com_error(c, PyExc_SyntaxError, "'yield' outside function");