From 3723c708fc051c74269a56b2d338087f5db9db97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 19 Jul 2020 08:07:10 +0200 Subject: [PATCH] ImportProject; Do not fail loading a GUI project that has warning tags --- lib/importproject.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/importproject.cpp b/lib/importproject.cpp index 62ff618ca..3f81338d6 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -1130,7 +1130,9 @@ bool ImportProject::importCppcheckGuiProject(std::istream &istr, Settings *setti else return false; } - } else + } else if (strcmp(node->Name(), CppcheckXml::TagWarningsElementName) == 0) + ; // TODO + else return false; } settings->basePaths = temp.basePaths;