ImportProject; Do not fail loading a GUI project that has warning tags

This commit is contained in:
Daniel Marjamäki 2020-07-19 08:07:10 +02:00
parent e9281babc4
commit 3723c708fc
1 changed files with 3 additions and 1 deletions

View File

@ -1130,7 +1130,9 @@ bool ImportProject::importCppcheckGuiProject(std::istream &istr, Settings *setti
else else
return false; return false;
} }
} else } else if (strcmp(node->Name(), CppcheckXml::TagWarningsElementName) == 0)
; // TODO
else
return false; return false;
} }
settings->basePaths = temp.basePaths; settings->basePaths = temp.basePaths;