summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2022-09-13 15:18:46 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2022-09-21 11:44:09 +0900
commit406ebb25a017dba5b066a42a1c325e57fa644e95 (patch)
treed99d74e5f085b06f48925ba8c7c13b442ff15852 /spec/ruby/core/array
parent104069e75a385d9b04c86cd31f2aa60547ad6a55 (diff)
obj_refer_only_sharables_p_i: need derefernce
Clang says "warning: variable 'pcnt' set but not used" here. In fact it doesn't. The intention is clear that we want to increment cnt, not pcnt. Adding a * mark solves everything.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6358
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions