HomeFreeBSD

Suppress cppcheck invalidSyntax warninigs

Description

Suppress cppcheck invalidSyntax warninigs

For some reason cppcheck 1.90 is generating an invalidSyntax warning
when the BF64_SET macro is used in the zstream source. The same
warning is not reported by cppcheck 2.3, nor is their any evident
problem with the expanded macro. This appears to be an issue with
this version of cppcheck. This commit annotates the source to suppress
the warning.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11700

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Mar 6 2021, 1:56 AM
GitHub <noreply@github.com>Committed on Mar 6 2021, 1:56 AM
Parents
rG6bbb44e15781: Initialize ZIL buffers
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGe7a06356c13c: Suppress cppcheck invalidSyntax warninigs (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Mar 6 2021, 1:56 AM