changed variable name to match guidelines

This commit is contained in:
Jens Yllman 2020-07-29 12:13:21 +02:00
parent 62f5f248be
commit 10ac0bcf54
1 changed files with 2 additions and 2 deletions

View File

@ -373,7 +373,7 @@ void Suppressions::dump(std::ostream & out) const
std::list<Suppressions::Suppression> Suppressions::getUnmatchedLocalSuppressions(const std::string &file, const bool unusedFunctionChecking) const
{
std::string tmp_file = Path::simplifyPath(file);
std::string tmpFile = Path::simplifyPath(file);
std::list<Suppression> result;
for (const Suppression &s : mSuppressions) {
if (s.matched)
@ -382,7 +382,7 @@ std::list<Suppressions::Suppression> Suppressions::getUnmatchedLocalSuppressions
continue;
if (!unusedFunctionChecking && s.errorId == "unusedFunction")
continue;
if (tmp_file.empty() || !s.isLocal() || s.fileName != tmp_file)
if (tmpFile.empty() || !s.isLocal() || s.fileName != tmpFile)
continue;
result.push_back(s);
}