summaryrefslogtreecommitdiff
path: root/test/ruby/test_signal.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2023-12-24 15:47:20 +0900
committerNobuyoshi Nakada <[email protected]>2023-12-24 19:34:25 +0900
commit61289d940597efb76bd7bcdd0501801733d9c9dd (patch)
treebe05c9c4e47477e247399f25e242f6b58aeb5deb /test/ruby/test_signal.rb
parent86893b28f7ac7cc522d628577564d49a8f558d70 (diff)
Initialize loop variable of `ccan_list_for_each`
On platforms where `typeof` is unsupported, `ccan_container_off_var` calculates the offset of member by pointer subtraction. Although this will result in the compile-time invariant value regardless the pointer value, the loop variable will be used before assignment and may cause an using uninitialized variable warning.
Diffstat (limited to 'test/ruby/test_signal.rb')
0 files changed, 0 insertions, 0 deletions