summaryrefslogtreecommitdiff
path: root/include/ruby/internal
diff options
context:
space:
mode:
authorAndrii Furmanets <furmanets.andriy@gmail.com>2025-12-25 12:05:06 +0200
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2025-12-26 14:05:11 +0900
commitb01fd2d8c3195cc9936f6be6f89df0de12394a28 (patch)
treef63efbbf183f4362f5b006bdfc04fcdc21a586d2 /include/ruby/internal
parentbad7dd5d74e9d14e84faf8cc8907dcdfdb8751e8 (diff)
Fix RSET_IS_MEMBER macro parameter mismatch
The RSET_IS_MEMBER macro had a parameter named 'sobj' but the macro body used 'set' instead, causing the first argument to be ignored. This worked by accident because all current callers use a variable named 'set', but would cause compilation failure if called with a differently named variable: error: use of undeclared identifier 'set' Changed the parameter name from 'sobj' to 'set' to match the macro body and be consistent with other RSET_* macros.
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions