Skip to content

Commit

Permalink
HPCC-33231 Coverity scan reported data race
Browse files Browse the repository at this point in the history
Add comment to explain why it's a non-issue

Signed-off-by: Richard Chapman <[email protected]>
  • Loading branch information
richardkchapman committed Jan 15, 2025
1 parent cc674d6 commit 385c0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtl/eclrtl/eclregex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ static void initMaxCacheSize()
}

if (cacheMaxSize > 0)
compiledStrRegExprCache.setMaxCacheSize(cacheMaxSize);
compiledStrRegExprCache.setMaxCacheSize(cacheMaxSize); // NOTE: Called from init code - no need to lock
else
compiledCacheEnabled = false;
}
Expand Down

0 comments on commit 385c0b5

Please sign in to comment.