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 deviations #85

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

chinglee-iot
Copy link
Member

@chinglee-iot chinglee-iot commented Feb 21, 2024

Description

  • Fix rule 18.6 deviations. Not to operaters on pointer.
  • Fix rule 9.1 deviations. Initialize the local variable to prevent use of uninitialized variable.

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.

* Fix rule 18.6 deviations. Not to operaters on pointer.
* Fix rule 9.1 deviations. Initialize the local variable to prevent use
  of uninitialized variable.
@Skptak
Copy link
Member

Skptak commented Feb 22, 2024

Will this repo need the same change to the CI build as coreMQTT's ci.yml file?

Will it also need its unit test version bumped up as was done in coreMQTT/test/CMakeList.txt?

* Rename UNIT_TEST to UNITTEST and COVERITY to COV_ANALYSIS to align
  FreeRTOS libraries
@chinglee-iot
Copy link
Member Author

Will this repo need the same change to the CI build as coreMQTT's ci.yml file?

Will it also need its unit test version bumped up as was done in coreMQTT/test/CMakeList.txt?

Thanks for comment. Update in new commit.

@chinglee-iot chinglee-iot merged commit 190d950 into FreeRTOS:main Feb 29, 2024
13 checks passed
@chinglee-iot chinglee-iot deleted the fix-misra-deviation branch February 29, 2024 09:12
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.

5 participants