-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 MISRA C 2012 Rule 14.4 Violations. #975
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #975 +/- ##
==========================================
- Coverage 93.65% 93.62% -0.03%
==========================================
Files 6 6
Lines 3198 3199 +1
Branches 886 886
==========================================
Hits 2995 2995
- Misses 91 92 +1
Partials 112 112
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Co-authored-by: chinglee-iot <[email protected]>
/bot run formatting |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Description
MISRA rule 14.4 - The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially boolean type.
Test Steps
Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.