Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent cppcheck from defining CHECK_DIR #168

Closed
wants to merge 1 commit into from

Conversation

WOnder93
Copy link
Contributor

Recent versions of cppcheck fail with a syntax error when they check apps/kcapi-hasher.c with CHECK_DIR defined (probably they now define it to 1 instead of an empty value). To fix it, instruct cppcheck to only check with CHECK_DIR left undefined.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=2225970

Recent versions of cppcheck fail with a syntax error when they check
apps/kcapi-hasher.c with CHECK_DIR defined (probably they now define it
to 1 instead of an empty value). To fix it, instruct cppcheck to only
check with CHECK_DIR left undefined.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=2225970
Signed-off-by: Ondrej Mosnacek <[email protected]>
@yselkowitz
Copy link

@smuellerDD
Copy link
Owner

Applied, thanks.

@smuellerDD smuellerDD closed this Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants