mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
gh-116420: Fix unused var compilation warnings (GH-116466)
Fix unused var compilation warnings
This commit is contained in:
@@ -352,6 +352,8 @@ dummy_func(void) {
|
||||
}
|
||||
|
||||
op(_COMPARE_OP, (left, right -- res)) {
|
||||
(void)left;
|
||||
(void)right;
|
||||
if (oparg & 16) {
|
||||
OUT_OF_SPACE_IF_NULL(res = sym_new_type(ctx, &PyBool_Type));
|
||||
}
|
||||
@@ -361,22 +363,32 @@ dummy_func(void) {
|
||||
}
|
||||
|
||||
op(_COMPARE_OP_INT, (left, right -- res)) {
|
||||
(void)left;
|
||||
(void)right;
|
||||
OUT_OF_SPACE_IF_NULL(res = sym_new_type(ctx, &PyBool_Type));
|
||||
}
|
||||
|
||||
op(_COMPARE_OP_FLOAT, (left, right -- res)) {
|
||||
(void)left;
|
||||
(void)right;
|
||||
OUT_OF_SPACE_IF_NULL(res = sym_new_type(ctx, &PyBool_Type));
|
||||
}
|
||||
|
||||
op(_COMPARE_OP_STR, (left, right -- res)) {
|
||||
(void)left;
|
||||
(void)right;
|
||||
OUT_OF_SPACE_IF_NULL(res = sym_new_type(ctx, &PyBool_Type));
|
||||
}
|
||||
|
||||
op(_IS_OP, (left, right -- res)) {
|
||||
(void)left;
|
||||
(void)right;
|
||||
OUT_OF_SPACE_IF_NULL(res = sym_new_type(ctx, &PyBool_Type));
|
||||
}
|
||||
|
||||
op(_CONTAINS_OP, (left, right -- res)) {
|
||||
(void)left;
|
||||
(void)right;
|
||||
OUT_OF_SPACE_IF_NULL(res = sym_new_type(ctx, &PyBool_Type));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user