We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6165e03 commit e03f9afCopy full SHA for e03f9af
1 file changed
lib/settings.cpp
@@ -81,7 +81,7 @@ std::string Settings::loadCppcheckCfg(Settings& settings, Suppressions& suppress
81
// cppcheck-suppress knownConditionTrueFalse
82
if (fileName.empty()) {
83
// TODO: make sure that exename is set
84
- fileName = Path::getPathFromFilename(settings.exename) + cfgFilename;
+ fileName = Path::join(Path::getPathFromFilename(settings.exename), cfgFilename);
85
if (debug)
86
std::cout << "looking for '" << fileName << "'" << std::endl;
87
if (!Path::isFile(fileName))
0 commit comments