FreeRTOS / FreeRTOS-Kernel

FreeRTOS kernel files only, submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
https://www.FreeRTOS.org
MIT License
2.52k stars 1.05k forks source link

Fix MISRA directive 4.7 warning #977

Closed kar-rahul-aws closed 5 months ago

kar-rahul-aws commented 5 months ago

Description

The MISRA C Directive 4.7 states that : If a function returns error information, then that error information shall be tested. In this code, since we are not testing the return value of xTaskResumeAll() , it is encased with typecast void to remove the warning.

Test Steps

NA

Checklist:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud