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

initialize delta with NULL #226

Merged
merged 1 commit into from
Apr 7, 2024
Merged

Conversation

fel1x-developer
Copy link
Contributor

Initializing a pointer with false triggers undefined behaviour, and this is not valid since C23. When pointer needs to be initialized to 0, NULL is preferred over false.

Initializing a pointer with `false` triggers undefined behaviour, and this is not valid since C23. When pointer needs to be initialized to 0, `NULL` is preferred over `false`.
@cognet cognet merged commit 066897b into concurrencykit:master Apr 7, 2024
2 of 5 checks passed
@cognet
Copy link
Contributor

cognet commented Apr 7, 2024

Merged, thanks!

@fel1x-developer fel1x-developer deleted the patch-1 branch April 7, 2024 14:37
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