Skip to content

Commit cded2bd

Browse files
Update cppcheck.cpp
1 parent 31566a8 commit cded2bd

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
@@ -1020,7 +1020,7 @@ unsigned int CppCheck::checkFile(const FileWithDetails& file, const std::string
10201020

10211021
if (analyzerInformation) {
10221022
// Calculate hash so it can be compared with old hash / future hashes
1023-
const std::size_t hash = calculateHash(preprocessor, tokens1), file.spath());
1023+
const std::size_t hash = calculateHash(preprocessor, tokens1, file.spath());
10241024
std::list<ErrorMessage> errors;
10251025
if (!analyzerInformation->analyzeFile(mSettings.buildDir, file.spath(), cfgname, fileIndex, hash, errors)) {
10261026
while (!errors.empty()) {

0 commit comments

Comments
 (0)