Skip to content

Commit a8788d7

Browse files
committed
Fix Cppcheck warning
1 parent 2da3123 commit a8788d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/cppcheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ void CppCheck::analyseWholeProgram(const std::string &buildDir, const std::map<s
757757
if (firstColon == lastColon)
758758
continue;
759759
const std::string xmlfile = buildDir + '/' + filesTxtLine.substr(0,firstColon);
760-
const std::string sourcefile = filesTxtLine.substr(lastColon+1);
760+
//const std::string sourcefile = filesTxtLine.substr(lastColon+1);
761761

762762
tinyxml2::XMLDocument doc;
763763
tinyxml2::XMLError error = doc.LoadFile(xmlfile.c_str());

0 commit comments

Comments
 (0)