Skip to content

Commit 0925179

Browse files
committed
More compiler warnings..
1 parent 162dfec commit 0925179

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Python/bytecodes.c

+2
Original file line numberDiff line numberDiff line change
@@ -3981,6 +3981,8 @@ dummy_func(
39813981
assert(oparg == 1);
39823982
DEAD(null);
39833983
DEAD(callable);
3984+
(void)callable; // Silence compiler warnings about unused variables
3985+
(void)null;
39843986
STAT_INC(CALL, hit);
39853987
res = PyStackRef_FromPyObjectNew(Py_TYPE(arg_o));
39863988
PyStackRef_CLOSE(arg);

Python/executor_cases.c.h

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/generated_cases.c.h

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)