astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2020-01-10 11:31:12 +01:00
parent a0a2eae1d2
commit e78775fac3
3 changed files with 7 additions and 9 deletions

View File

@ -174,8 +174,7 @@ bool CppCheckExecutor::parseFromArgs(CppCheck *cppcheck, int argc, const char* c
std::cout << "cppcheck: error: could not find any files matching the filter." << std::endl;
return false;
}
}
else if (!pathnames.empty()) {
} else if (!pathnames.empty()) {
// Execute recursiveAddFiles() to each given file parameter
const PathMatch matcher(ignored, caseSensitive);
for (const std::string &pathname : pathnames)
@ -187,8 +186,7 @@ bool CppCheckExecutor::parseFromArgs(CppCheck *cppcheck, int argc, const char* c
if (!ignored.empty())
std::cout << "cppcheck: Maybe all paths were ignored?" << std::endl;
return false;
}
else if(!mSettings->fileFilter.empty()) {
} else if (!mSettings->fileFilter.empty()) {
std::map<std::string, std::size_t> newMap;
for (std::map<std::string, std::size_t>::const_iterator i = mFiles.begin(); i != mFiles.end(); ++i)
if (Suppressions::matchglob(mSettings->fileFilter, i->first)) {