summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorDavid Carlier <dcarlier@afilias.info>2019-05-17 23:46:22 (GMT)
committerCheryl Sabella <cheryl.sabella@gmail.com>2019-05-17 23:46:22 (GMT)
commit27ee0f8551a6d576a65e20da90acf9f3cb412c35 (patch)
tree1c00bfad59680bc22ebf0bf0b49a88fd91375b6f /Python/compile.c
parente7b1136ec3b40d174d71f2195cceaadf4fe9539c (diff)
downloadcpython-27ee0f8551a6d576a65e20da90acf9f3cb412c35.zip
cpython-27ee0f8551a6d576a65e20da90acf9f3cb412c35.tar.gz
cpython-27ee0f8551a6d576a65e20da90acf9f3cb412c35.tar.bz2
Fix couple of dead code paths (GH-7418)
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 2a086a5..b20548c 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -4868,7 +4868,6 @@ compiler_visit_expr1(struct compiler *c, expr_ty e)
return compiler_error(c,
"can't use starred expression here");
}
- break;
case Name_kind:
return compiler_nameop(c, e->v.Name.id, e->v.Name.ctx);
/* child nodes of List and Tuple will have expr_context set */