Skip to content

Commit 41bb564

Browse files
authored
Remove unused variable. (GH-27677)
1 parent 03e5647 commit 41bb564

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Python/compile.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8610,11 +8610,9 @@ is_exit_without_lineno(basicblock *b) {
86108610
static int
86118611
duplicate_exits_without_lineno(struct compiler *c)
86128612
{
8613-
basicblock *entry = NULL;
86148613
/* Copy all exit blocks without line number that are targets of a jump.
86158614
*/
86168615
for (basicblock *b = c->u->u_blocks; b != NULL; b = b->b_list) {
8617-
entry = b;
86188616
if (b->b_iused > 0 && is_jump(&b->b_instr[b->b_iused-1])) {
86198617
switch (b->b_instr[b->b_iused-1].i_opcode) {
86208618
/* Note: Only actual jumps, not exception handlers */
@@ -8638,7 +8636,6 @@ duplicate_exits_without_lineno(struct compiler *c)
86388636
}
86398637
}
86408638
}
8641-
assert(entry != NULL);
86428639
/* Eliminate empty blocks */
86438640
for (basicblock *b = c->u->u_blocks; b != NULL; b = b->b_list) {
86448641
while (b->b_next && b->b_next->b_iused == 0) {

0 commit comments

Comments
 (0)