-
Notifications
You must be signed in to change notification settings - Fork 217
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
Additional errors reported by new cppcheck #1325
Comments
FYI @jphickey - I'm seeing these new errors in the cppcheck workflow now as well:
https://github.com/thnkslprpt/osal/actions/runs/3416460591/jobs/5686627983 |
This was referenced Nov 12, 2022
2 tasks
Errors from the CI run w/ Ubuntu 20.04: https://github.com/nasa/osal/actions/runs/3463520016 |
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Nov 17, 2022
Resolves a number of issues reported by cppcheck
2 tasks
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Nov 17, 2022
Resolves a number of issues reported by cppcheck
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The latest version of cppcheck reports the following errors/concerns in the OSAL source code:
To Reproduce
Execute the following cppcheck command in OSAL (same as what is used in the static analysis workflow "strict" setting):
cppcheck --force --inline-suppr --std=c99 --language=c --enable=warning,performance,portability,style --suppress=variableScope --inconclusive src/bsp/ src/os/
Expected behavior
Should pass cleanly
System observed on:
Ubuntu 22.04 (cppcheck version 2.7)
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: