summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-12-15 16:29:48 +0100
committerGitHub <noreply@github.com>2017-12-15 16:29:48 +0100
commitda2b79867eb54c9964597ba30123bf9196baf0c2 (patch)
treeb6f1e978a64f28e10723d1544f7eabf4457d43aa /Python/compile.c
parent77bf6da7258b4a312e224860ea50ac010aa17c1e (diff)
downloadcpython-git-da2b79867eb54c9964597ba30123bf9196baf0c2.tar.gz
compile.c: Remove unused varible (#4886)
Fix a compiler warning.
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 9984d55858..13b4fb8307 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)