We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e97436 commit 3693c19Copy full SHA for 3693c19
1 file changed
lib/suppressions.cpp
@@ -459,13 +459,13 @@ bool SuppressionList::Suppression::isFileNameMatch(const std::string &errorFileN
459
if (it != mFileNameMatchCache.end())
460
return it->second;
461
462
- const bool isMatch = PathMatch::match(fileName, errorFileName);
+ const bool result = PathMatch::match(fileName, errorFileName);
463
464
if (mFileNameMatchCache.size() >= mFileNameMatchCacheMaxEntries)
465
mFileNameMatchCache.clear();
466
467
- mFileNameMatchCache.emplace(errorFileName, isMatch);
468
- return isMatch;
+ mFileNameMatchCache.emplace(errorFileName, result);
+ return result;
469
}
470
471
bool SuppressionList::Suppression::isMatch(const SuppressionList::ErrorMessage &errmsg)
0 commit comments