-
-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SA9001: fix false positive in presense of control flow statements
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)
- Loading branch information
1 parent
9fae04b
commit 972a70e
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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