Skip to content

Commit b142ef3

Browse files
committed
file0
1 parent 3fbe2e2 commit b142ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cppcheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ unsigned int CppCheck::analyseWholeProgram(const std::string &buildDir, const st
18621862
for (const Check *check : Check::instances()) {
18631863
if (checkattr == check->name()) {
18641864
if (Check::FileInfo* fi = check->loadFileInfoFromXml(e)) {
1865-
fi->file0 = filesTxtInfo.sourceFile;
1865+
fi->file0 = Path::simplifyPath(filesTxtInfo.sourceFile); // TODO: simplify earlier?
18661866
fileInfoList.push_back(fi);
18671867
}
18681868
}

0 commit comments

Comments
 (0)