diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-12-24 15:47:20 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-12-24 19:34:25 +0900 |
commit | 61289d940597efb76bd7bcdd0501801733d9c9dd (patch) | |
tree | be05c9c4e47477e247399f25e242f6b58aeb5deb /test/monitor | |
parent | 86893b28f7ac7cc522d628577564d49a8f558d70 (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/monitor')
0 files changed, 0 insertions, 0 deletions