Skip to content

Simplify ReferenceNextEvent and remove obsolete suppressions on the way - #1743

Merged
castler merged 3 commits into
mainfrom
xb_lola_bindings
Dec 3, 2026
Merged

castler merged 3 commits into
mainfrom
xb_lola_bindings

Conversation

@limdor

@limdor limdor commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

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.
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.
@castler
castler added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit b63f0a1 Dec 3, 2026
21 checks passed
@castler
castler deleted the xb_lola_bindings branch December 3, 2026 09:05
@github-project-automation github-project-automation Bot moved this from Backlog to Done in COM - Communication FT Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants