Skip to content

Commit d24069b

Browse files
committed
regex.cpp: mitigated shadowFunction selfcheck false positive
1 parent 55b4d3e commit d24069b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/regex.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ static T* createAndCompileRegex(std::string pattern, std::string& err)
258258
return regex;
259259
}
260260

261+
// cppcheck-suppress shadowFunction - FP see #14802
261262
std::shared_ptr<Regex> Regex::create(std::string pattern, Engine engine, std::string& err)
262263
{
263264
Regex* regex = nullptr;

0 commit comments

Comments
 (0)