Mercurial > cpython-lru_cache-weakref
diff Python/compile.c @ 35781:31d36dd5959c legacy-trunk
Remove unnecessary local variable.
| author | Neil Schemenauer <nascheme@enme.ucalgary.ca> |
|---|---|
| date | Sun, 23 Oct 2005 18:52:36 +0000 |
| parents | 19d796bd740f |
| children | 19a37a9f4ef9 |
line wrap: on
line diff
--- a/Python/compile.c Sun Oct 23 18:50:36 2005 +0000 +++ b/Python/compile.c Sun Oct 23 18:52:36 2005 +0000 @@ -2701,7 +2701,7 @@ static int compiler_nameop(struct compiler *c, identifier name, expr_context_ty ctx) { - int op, scope, r, arg; + int op, scope, arg; enum { OP_FAST, OP_GLOBAL, OP_DEREF, OP_NAME } optype; PyObject *dict = c->u->u_names; @@ -2811,9 +2811,8 @@ arg = compiler_add_o(c, dict, mangled); if (arg < 0) return 0; - r = compiler_addop_i(c, op, arg); Py_DECREF(mangled); - return r; + return compiler_addop_i(c, op, arg); } static int
