Skip to content

Commit 0f02993

Browse files
authored
Remove unused variable. (GH-27677) (#27680)
1 parent d5c8ad2 commit 0f02993

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
@@ -7820,7 +7820,6 @@ is_exit_without_lineno(basicblock *b) {
78207820
static int
78217821
duplicate_exits_without_lineno(struct compiler *c)
78227822
{
7823-
basicblock *entry = NULL;
78247823
/* Copy all exit blocks without line number that are targets of a jump.
78257824
*/
78267825
for (basicblock *b = c->u->u_blocks; b != NULL; b = b->b_list) {
@@ -7846,9 +7845,7 @@ duplicate_exits_without_lineno(struct compiler *c)
78467845
target->b_next = new_target;
78477846
}
78487847
}
7849-
entry = b;
78507848
}
7851-
assert(entry != NULL);
78527849
/* Eliminate empty blocks */
78537850
for (basicblock *b = c->u->u_blocks; b != NULL; b = b->b_list) {
78547851
while (b->b_next && b->b_next->b_iused == 0) {

0 commit comments

Comments
 (0)