com_yield_expr(): Squash new compiler wng about unreferenced local.

This commit is contained in:
Tim Peters 2005-08-03 18:33:05 +00:00
parent 4e41a4b64c
commit ea9dcdc062

View 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");