summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-08-09 14:25:40 (GMT)
committerGitHub <noreply@github.com>2021-08-09 14:25:40 (GMT)
commit0f02993b2c7b3343df05fcf8b5f0e6a900f195b3 (patch)
treed744edec659e9fd111ee97f6282c6b61bbbcd46a /Python
parentd5c8ad24716d146ffa025e09dad85e5a1bac5c77 (diff)
downloadcpython-0f02993b2c7b3343df05fcf8b5f0e6a900f195b3.zip
cpython-0f02993b2c7b3343df05fcf8b5f0e6a900f195b3.tar.gz
cpython-0f02993b2c7b3343df05fcf8b5f0e6a900f195b3.tar.bz2
Remove unused variable. (GH-27677) (#27680)
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/compile.c b/Python/compile.c
index edc77e5..a237899 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -7820,7 +7820,6 @@ is_exit_without_lineno(basicblock *b) {
static int
duplicate_exits_without_lineno(struct compiler *c)
{
- basicblock *entry = NULL;
/* Copy all exit blocks without line number that are targets of a jump.
*/
for (basicblock *b = c->u->u_blocks; b != NULL; b = b->b_list) {
@@ -7846,9 +7845,7 @@ duplicate_exits_without_lineno(struct compiler *c)
target->b_next = new_target;
}
}
- entry = b;
}
- assert(entry != NULL);
/* Eliminate empty blocks */
for (basicblock *b = c->u->u_blocks; b != NULL; b = b->b_list) {
while (b->b_next && b->b_next->b_iused == 0) {