Skip to content

Suppress Cppcheck and spelling errors #257

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

Merged
merged 1 commit into from
Mar 11, 2025
Merged

Suppress Cppcheck and spelling errors #257

merged 1 commit into from
Mar 11, 2025

Conversation

jserv
Copy link
Contributor

@jserv jserv commented Mar 11, 2025

The newly introduced 'fmtscan' tool does not handle the getopt(3) string correctly, which leads to additional false spelling errors. To mitigate the issue, add the affected sub-strings to a user-defined dictionary as a workaround.

Tested with Cppcheck v2.17
Close #255

Change-Id: Ife2b8c6088f2e5c3a20cf5dd0149098443fa4e46

The newly introduced 'fmtscan' tool does not handle the getopt(3) string
correctly, which leads to additional false spelling errors. To mitigate
the issue, add the affected sub-strings to a user-defined dictionary as
a workaround.

Tested with Cppcheck v2.17
Close #255

Change-Id: Ife2b8c6088f2e5c3a20cf5dd0149098443fa4e46
@jserv jserv force-pushed the suppress-cppcheck branch from b9bceaf to b058ccb Compare March 11, 2025 14:50
@jserv jserv merged commit 71a0203 into master Mar 11, 2025
4 checks passed
@jserv jserv deleted the suppress-cppcheck branch March 11, 2025 14:52
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.

fmtscan cannot pass the static analysis
1 participant