Repository navigation
Simplify ReferenceNextEvent and remove obsolete suppressions on the way - #1743
Merged
Merged
Conversation
We do not use coverity. Additionally, there is no pointers involved here, only references that by definition cannot be null. If that was flagged, then it was a false positive.
We no longer use coverity
This code is much simple in the sense the removes an if condition after the for loop and it allows to reduce the scope of a variable. Making the full algorithm easier to reason about. The only disadvantage is that the atomic variable for retries is incremented multiple times instead of once. The added complexity on the function does not justify saving on few atomic increments.
limdor
marked this pull request as ready for review
December 2, 2026 20:21
limdor
requested review from
LittleHuba,
bemerybmw,
castler,
crimson11 and
hoe-jo
as code owners
December 2, 2026 20:21
castler
approved these changes
Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.