diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-10-02 15:04:35 +1000 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-10-07 15:33:34 +0200 |
| commit | 2274c3a520dfa41e440db93f15153ff426694331 (patch) | |
| tree | 39a7aeb4ccea982baad08918c8a44ada0a5a6bc2 /test/lib | |
| parent | ee9b2361d04027669bff8df4dc10722bda1c1333 (diff) | |
| download | passt-2274c3a520dfa41e440db93f15153ff426694331.tar passt-2274c3a520dfa41e440db93f15153ff426694331.tar.gz passt-2274c3a520dfa41e440db93f15153ff426694331.tar.bz2 passt-2274c3a520dfa41e440db93f15153ff426694331.tar.lz passt-2274c3a520dfa41e440db93f15153ff426694331.tar.xz passt-2274c3a520dfa41e440db93f15153ff426694331.tar.zst passt-2274c3a520dfa41e440db93f15153ff426694331.zip | |
cppcheck: Suppress variable scope warnings in dhcpv6()
At least some cppcheck versions (2.18.3 for me) complain that the _storage
variables in dhcpv6() could be reduced in scope. That's not actually the
case, because although we don't reference the variables, we may touch
their memory via pointers after the blocks in question. There's no
reasonable way for cppcheck to determine that, though, so suppress its
warnings.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions
