Fix Cppcheck warning

This commit is contained in:
Daniel Marjamäki 2017-03-30 11:20:04 +02:00
parent 2da3123db2
commit a8788d7fc7
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ void CppCheck::analyseWholeProgram(const std::string &buildDir, const std::map<s
if (firstColon == lastColon)
continue;
const std::string xmlfile = buildDir + '/' + filesTxtLine.substr(0,firstColon);
const std::string sourcefile = filesTxtLine.substr(lastColon+1);
//const std::string sourcefile = filesTxtLine.substr(lastColon+1);
tinyxml2::XMLDocument doc;
tinyxml2::XMLError error = doc.LoadFile(xmlfile.c_str());