mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
script_opt/IDOptInfo: Add NOLINT(bugprone-branch-clone)
This commit is contained in:
parent
b034fd3f55
commit
0cc30faa55
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ int IDOptInfo::FindRegionBeforeIndex(int stmt_num) {
|
||||||
// or
|
// or
|
||||||
// It's active at the beginning of the statement of interest.
|
// It's active at the beginning of the statement of interest.
|
||||||
if ( ur.EndsAfter() == NO_DEF || ur.EndsAfter() >= stmt_num )
|
if ( ur.EndsAfter() == NO_DEF || ur.EndsAfter() >= stmt_num )
|
||||||
region_ind = i;
|
region_ind = i; // NOLINT(bugprone-branch-clone)
|
||||||
|
|
||||||
else if ( ur.EndsAfter() == stmt_num - 1 && ur.EndedDueToAssignment() ) {
|
else if ( ur.EndsAfter() == stmt_num - 1 && ur.EndedDueToAssignment() ) {
|
||||||
// There's one other possibility, which occurs for a series of
|
// There's one other possibility, which occurs for a series of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue