diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index d858ef33e..b77f1dc8c 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -45,7 +45,7 @@ //--------------------------------------------------------------------------- CppCheck::CppCheck(ErrorLogger &errorLogger) - : _errorLogger(errorLogger) + : _errorLogger(errorLogger) { } diff --git a/tools/dmake.cpp b/tools/dmake.cpp index 3407cde46..6a1f85036 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -40,7 +40,7 @@ void getDeps(const std::string &filename, std::vector &depfiles) std::ifstream f(filename.c_str()); if (! f.is_open()) { - if (filename.compare(0,4,"cli/") == 0 || filename.compare(0,5,"test/") == 0) + if (filename.compare(0, 4, "cli/") == 0 || filename.compare(0, 5, "test/") == 0) getDeps("lib" + filename.substr(filename.find("/")), depfiles); return; }