summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2005-08-03 18:33:05 (GMT)
committerTim Peters <tim.peters@gmail.com>2005-08-03 18:33:05 (GMT)
commitea9dcdc0621e615ee93a961e63727c5aa394d315 (patch)
tree45c9e268f516ecbc11f7509071616150406a80cc /Python
parent4e41a4b64cb9e69d15ebe0cdf752c5e105318a94 (diff)
downloadcpython-ea9dcdc0621e615ee93a961e63727c5aa394d315.zip
cpython-ea9dcdc0621e615ee93a961e63727c5aa394d315.tar.gz
cpython-ea9dcdc0621e615ee93a961e63727c5aa394d315.tar.bz2
com_yield_expr(): Squash new compiler wng about unreferenced local.
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 56b3a3e..99ccf29 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -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");