Skip to content

Conversation

@archigup
Copy link
Member

@archigup archigup commented Aug 2, 2023

MISRA forbids having expressions with side effects on the right side of an && or || operator.

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

MISRA forbids having expressions with side effects on the right side of
an && or || operator.
@archigup archigup force-pushed the misrashortcircuit branch from dff33ff to 5b3e583 Compare August 2, 2023 21:01
@archigup archigup mentioned this pull request Aug 2, 2023
Copy link
Member

@kstribrnAmzn kstribrnAmzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotta love MISRA and it's beautifying affect on code :P

@AniruddhaKanhere AniruddhaKanhere merged commit 84f903f into FreeRTOS:main Aug 2, 2023
@archigup archigup deleted the misrashortcircuit branch August 4, 2023 04:18
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.

3 participants