diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2025-10-02 15:04:33 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-10-07 15:33:30 +0200 |
commit | 065d199f9df54b3cbe77a52da5b80d12f2bc7d85 (patch) | |
tree | fb4960b2d075708f20c756e940ea389a369ce73a | |
parent | b4b3b082e37698aa8daeb043d070ee40844d9598 (diff) | |
download | passt-065d199f9df54b3cbe77a52da5b80d12f2bc7d85.tar passt-065d199f9df54b3cbe77a52da5b80d12f2bc7d85.tar.gz passt-065d199f9df54b3cbe77a52da5b80d12f2bc7d85.tar.bz2 passt-065d199f9df54b3cbe77a52da5b80d12f2bc7d85.tar.lz passt-065d199f9df54b3cbe77a52da5b80d12f2bc7d85.tar.xz passt-065d199f9df54b3cbe77a52da5b80d12f2bc7d85.tar.zst passt-065d199f9df54b3cbe77a52da5b80d12f2bc7d85.zip |
cppcheck: Suppress the suppression of a suppression
Apparently cppcheck 2.18.3 no longer trips the funcArgNamesDifferent
warning on our (re-)definition of close_range(). So instead we get an
unmatchedSuppression warning.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | linux_dep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux_dep.h b/linux_dep.h index 1d9e166..89e590c 100644 --- a/linux_dep.h +++ b/linux_dep.h @@ -142,7 +142,7 @@ struct tcp_info_linux { #endif __attribute__ ((weak)) -/* cppcheck-suppress funcArgNamesDifferent */ +/* cppcheck-suppress [funcArgNamesDifferent,unmatchedSuppression] */ int close_range(unsigned int first, unsigned int last, int flags) { return syscall(SYS_close_range, first, last, flags); } |