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 MISRA C 2012 Rule 10.3 Violations #974

Merged
merged 3 commits into from
Feb 1, 2024

Conversation

bradleysmith23
Copy link
Contributor

Description

Fix violations for MISRA C 2012 Rule 10.3 - The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category

Test Steps

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

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.

@bradleysmith23 bradleysmith23 requested a review from a team as a code owner January 31, 2024 20:17
Copy link

codecov bot commented Jan 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cd8c6c1) 93.65% compared to head (da7cf58) 93.65%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #974   +/-   ##
=======================================
  Coverage   93.65%   93.65%           
=======================================
  Files           6        6           
  Lines        3198     3198           
  Branches      886      886           
=======================================
  Hits         2995     2995           
  Misses         91       91           
  Partials      112      112           
Flag Coverage Δ
unittests 93.65% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bradleysmith23 bradleysmith23 changed the title Fix Violations for MISRA C 2012 Rule 10.3 Fix MISRA C 2012 Rule 10.3 Violations Jan 31, 2024
Copy link

sonarqubecloud bot commented Feb 1, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@kar-rahul-aws kar-rahul-aws merged commit d94db2d into FreeRTOS:main Feb 1, 2024
18 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.

4 participants