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

Fix missing return identified by cppcheck #3322

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

BsAtHome
Copy link
Contributor

@BsAtHome BsAtHome commented Feb 4, 2025

Several places were identified by cppcheck to have function exit paths without a proper return statement. Most are trivially fixed.
It also discovered a potentially problem in hal/drivers/mesa-hostmot2/uart.c, where a code fragment testing a return value is unreachable. It should be investigated at another time.

@andypugh andypugh merged commit 55fb1a0 into LinuxCNC:master Feb 6, 2025
10 checks passed
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.

2 participants