Fixed Cppcheck shadowVar warning
This commit is contained in:
parent
c7d7f8738c
commit
d69f002757
|
@ -7,7 +7,6 @@ shadowFunction
|
|||
|
||||
# temporary suppressions - fix the warnings!
|
||||
missingOverride
|
||||
shadowVar
|
||||
shiftTooManyBitsSigned
|
||||
uninitStructMember
|
||||
unsignedLessThanZero
|
||||
|
|
|
@ -1077,8 +1077,8 @@ bool ImportProject::importCppcheckGuiProject(std::istream &istr, Settings *setti
|
|||
settings->userDefines = temp.userDefines;
|
||||
settings->userUndefs = temp.userUndefs;
|
||||
settings->addons = temp.addons;
|
||||
for (const std::string &path : paths)
|
||||
guiProject.pathNames.push_back(path);
|
||||
for (const std::string &p : paths)
|
||||
guiProject.pathNames.push_back(p);
|
||||
for (const std::string &supp : suppressions)
|
||||
settings->nomsg.addSuppressionLine(supp);
|
||||
settings->checkHeaders = temp.checkHeaders;
|
||||
|
|
Loading…
Reference in New Issue