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

SA9001: fix false positive in presense of control flow statement #1298

Closed
wants to merge 1 commit into from

Conversation

KarthikNayak
Copy link
Contributor

@KarthikNayak KarthikNayak commented Jul 3, 2022

As noted in the Issue: #488,
let's check if there is either a return statement or a break control
flow when looping over channels. This would reduce false positives.

Add a test for the same as noted in the issue!

As noted in the PR: dominikh#488,
let's check if there is either a `return` statement or a `break` control
flow when looping over channels. This would reduce false positives.

Add a test for the same as noted in the issue!

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
@dominikh dominikh closed this in bfa1dc5 Jun 23, 2023
dominikh pushed a commit that referenced this pull request Aug 17, 2023
As noted in issue gh-488, let's check if there is either a 'return' or a
'break' statement when looping over channels.

Add a test for the same as noted in the issue!

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Closes: gh-1298 [via git-merge-pr]
Closes: gh-488
(cherry picked from commit bfa1dc5)
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.

None yet

1 participant