diff --git a/CHANGES b/CHANGES index bffffa6d1b..9eaa193445 100644 --- a/CHANGES +++ b/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) diff --git a/VERSION b/VERSION index 2aeba4637d..9afaac7ea8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.0.0-dev.599 +8.0.0-dev.601 diff --git a/src/script_opt/IDOptInfo.cc b/src/script_opt/IDOptInfo.cc index ced93878b9..026e111b97 100644 --- a/src/script_opt/IDOptInfo.cc +++ b/src/script_opt/IDOptInfo.cc @@ -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