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

Ensure CC_ASSERT calls do not have side effects #23

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

pvedin
Copy link

@pvedin pvedin commented Feb 22, 2024

Since builds may be compiled without asserts, it may be the case that expressions that are to be asserted are never evaluated; this would lead to incorrect behaviour if they contain side effects.

Since builds may be compiled without asserts,
it may be the case that expressions that are to be
asserted are never evaluated; this would lead to
incorrect behaviour if they contain side effects.
@hefloryd hefloryd merged commit 363cc8b into rtlabs-com:master Feb 23, 2024
1 check passed
@hefloryd
Copy link
Contributor

Great, thanks!

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.

2 participants