Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Prev Previous commit
Next Next commit
Mark args as unused
  • Loading branch information
tomasr8 committed Apr 22, 2025
commit e863c2ca6ed9c96160c2c4b27b1dbee5ff03ddd7
4 changes: 1 addition & 3 deletions Python/optimizer_bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,9 +846,7 @@ dummy_func(void) {
next = sym_new_type(ctx, &PyLong_Type);
}

op(_CALL_TYPE_1, (callable, null, arg -- res)) {
(void)callable;
(void)null;
op(_CALL_TYPE_1, (unused, unused, arg -- res)) {
if (sym_has_type(arg)) {
res = sym_new_const(ctx, (PyObject *)sym_get_type(arg));
}
Comment thread
brandtbucher marked this conversation as resolved.
Expand Down
6 changes: 0 additions & 6 deletions Python/optimizer_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.