-
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 9.1 violation #841
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #841 +/- ##
=======================================
Coverage 93.77% 93.78%
=======================================
Files 6 6
Lines 3183 3184 +1
Branches 885 885
=======================================
+ Hits 2985 2986 +1
Misses 91 91
Partials 107 107
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Kudos, SonarCloud Quality Gate passed!
|
Fix MISRA C 2012 rule 9.1 violation
Description
MISRA C 2012 rule 9.1
MISRA violation
The following is an example that the default value of an object is not set, before the value from that object is read.
The function prototype:
Fix in this PR
Test Steps
N/A
Checklist:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.