]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
compile.c: Remove unused varible (#4886)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 15 Dec 2017 15:29:48 +0000 (16:29 +0100)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2017 15:29:48 +0000 (16:29 +0100)
Fix a compiler warning.

Python/compile.c

index 9984d55858a40d5a9806216d03ee19d101220771..13b4fb830766139e1496ea19e3c9d5a4894f6bac 100644 (file)
@@ -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)