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

Drop tautological comparison #2502

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Drop tautological comparison #2502

merged 1 commit into from
Jan 28, 2025

Conversation

ktf
Copy link
Member

@ktf ktf commented Jan 28, 2025

A pointer to a reference cannot be nullptr. If it is, whatever created the
reference in the first place has already crashed. If this is to be protected,
one should return the pointer and check that.

A pointer to a reference cannot be nullptr. If it is, whatever created the
reference in the first place has already crashed. If this is to be protected,
one should return the pointer and check that.
@ktf
Copy link
Member Author

ktf commented Jan 28, 2025

@Barthelemy can this be merged and a new release tagged? It's breaking the CI.

@Barthelemy
Copy link
Collaborator

@ktf yes

@Barthelemy Barthelemy merged commit 697cda5 into AliceO2Group:master Jan 28, 2025
3 of 6 checks passed
Barthelemy pushed a commit that referenced this pull request Jan 28, 2025
A pointer to a reference cannot be nullptr. If it is, whatever created the
reference in the first place has already crashed. If this is to be protected,
one should return the pointer and check that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants