Skip to content

Commit bc41fc3

Browse files
committed
Mark null as DEAD
1 parent 9623699 commit bc41fc3

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Python/bytecodes.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5330,7 +5330,8 @@ dummy_func(
53305330
tier2 pure op(_POP_CALL_TWO_LOAD_CONST_INLINE_BORROW, (ptr/4, callable, null, pop1, pop2 -- value)) {
53315331
PyStackRef_CLOSE(pop2);
53325332
PyStackRef_CLOSE(pop1);
5333-
PyStackRef_CLOSE(null);
5333+
(void)null; // Silence compiler warnings about unused variables
5334+
DEAD(null);
53345335
PyStackRef_CLOSE(callable);
53355336
value = PyStackRef_FromPyObjectImmortal(ptr);
53365337
}

Python/executor_cases.c.h

Lines changed: 2 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)