diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-06-14 14:07:19 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-06-18 09:06:00 +0200 |
commit | 721fa1bf5dc01775de89c2622d927588d7c7d018 (patch) | |
tree | 17a139ef170d1caee99360a7ad353bd29d11b76c /conf.c | |
parent | 41c02e10db8bc0f4e89ec9e5bd23cf39162f5f68 (diff) | |
download | passt-721fa1bf5dc01775de89c2622d927588d7c7d018.tar passt-721fa1bf5dc01775de89c2622d927588d7c7d018.tar.gz passt-721fa1bf5dc01775de89c2622d927588d7c7d018.tar.bz2 passt-721fa1bf5dc01775de89c2622d927588d7c7d018.tar.lz passt-721fa1bf5dc01775de89c2622d927588d7c7d018.tar.xz passt-721fa1bf5dc01775de89c2622d927588d7c7d018.tar.zst passt-721fa1bf5dc01775de89c2622d927588d7c7d018.zip |
Makefile: Suppress unusedStructMember Cppcheck warning in dhcp.c
New from Cppcheck 2.8: all the fields of struct msg that are not
directly manipulated are now reported as unused, which is kind of
correct as those fields are used as a blob "copied" from request
to response and not as separate fields.
However, keeping the message composition explicit is probably
desirable, and adding inline suppressions makes the whole thing
rather unreadable, so just suppress unusedStructMember warnings for
dhcp.c, while also adding a suppression for unmatched suppressions
to keep earlier versions of Cppcheck happy.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'conf.c')
0 files changed, 0 insertions, 0 deletions