mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/id-opt-info-branch-clone-no-lint'
* origin/topic/awelzel/id-opt-info-branch-clone-no-lint: script_opt/IDOptInfo: Add NOLINT(bugprone-branch-clone)
This commit is contained in:
commit
3c941a6d3e
3 changed files with 6 additions and 2 deletions
4
CHANGES
4
CHANGES
|
@ -1,3 +1,7 @@
|
|||
8.0.0-dev.601 | 2025-07-07 20:07:30 +0200
|
||||
|
||||
* script_opt/IDOptInfo: Add NOLINT(bugprone-branch-clone) (Arne Welzel, Corelight)
|
||||
|
||||
8.0.0-dev.599 | 2025-07-07 18:17:15 +0200
|
||||
|
||||
* Bump zeekjs to v0.18.0 (Arne Welzel, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
8.0.0-dev.599
|
||||
8.0.0-dev.601
|
||||
|
|
|
@ -456,7 +456,7 @@ int IDOptInfo::FindRegionBeforeIndex(int stmt_num) {
|
|||
// or
|
||||
// It's active at the beginning of the statement of interest.
|
||||
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() ) {
|
||||
// There's one other possibility, which occurs for a series of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue