[Python-checkins] compile.c: Remove unused varible (#4886)
Victor Stinner
webhook-mailer at python.org
Fri Dec 15 10:29:51 EST 2017
https://github.com/python/cpython/commit/da2b79867eb54c9964597ba30123bf9196baf0c2
commit: da2b79867eb54c9964597ba30123bf9196baf0c2
branch: 3.6
author: Victor Stinner <victor.stinner at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-12-15T16:29:48+01:00
summary:
compile.c: Remove unused varible (#4886)
Fix a compiler warning.
files:
M Python/compile.c
diff --git a/Python/compile.c b/Python/compile.c
index 9984d55858a..13b4fb83076 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -5155,7 +5155,6 @@ compute_code_flags(struct compiler *c)
{
PySTEntryObject *ste = c->u->u_ste;
int flags = 0;
- Py_ssize_t n;
if (ste->ste_type == FunctionBlock) {
flags |= CO_NEWLOCALS | CO_OPTIMIZED;
if (ste->ste_nested)
More information about the Python-checkins
mailing list