Skip to content

Commit c84b0a1

Browse files
committed
CppCheck: set missing file info in analyzer information for markup files
1 parent 31b8e7e commit c84b0a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/cppcheck.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,9 @@ unsigned int CppCheck::checkFile(const FileWithDetails& file, const std::string
674674
tokenizer.list.createTokens(in, file.spath());
675675
}
676676
mUnusedFunctionsCheck->parseTokens(tokenizer, mSettings);
677-
// TODO: set analyzer information
677+
678+
// TODO: open file so we can set the fileinfo
679+
mAnalyzerInformation.setFileInfo("CheckUnusedFunctions", mUnusedFunctionsCheck->analyzerInfo());
678680
}
679681
return EXIT_SUCCESS;
680682
}

0 commit comments

Comments
 (0)