Fix member shadowing (#3563)
This commit is contained in:
parent
9c31e0ce54
commit
2bf7294d5b
|
@ -76,9 +76,9 @@ Settings::Settings()
|
|||
certainty.setEnabled(Certainty::normal, true);
|
||||
}
|
||||
|
||||
void Settings::loadCppcheckCfg(const std::string &exename)
|
||||
void Settings::loadCppcheckCfg(const std::string &executable)
|
||||
{
|
||||
std::string fileName = Path::getPathFromFilename(exename) + "cppcheck.cfg";
|
||||
std::string fileName = Path::getPathFromFilename(executable) + "cppcheck.cfg";
|
||||
#ifdef FILESDIR
|
||||
if (Path::fileExists(FILESDIR "/cppcheck.cfg"))
|
||||
fileName = FILESDIR "/cppcheck.cfg";
|
||||
|
|
|
@ -95,7 +95,7 @@ private:
|
|||
public:
|
||||
Settings();
|
||||
|
||||
void loadCppcheckCfg(const std::string &exename);
|
||||
void loadCppcheckCfg(const std::string &executable);
|
||||
|
||||
/** @brief addons, either filename of python/json file or json data */
|
||||
std::list<std::string> addons;
|
||||
|
|
Loading…
Reference in New Issue