Skip to content

Commit a9d4e4d

Browse files
committed
CppCheck: no need to write locations in unused preprocessor output
1 parent f48ea28 commit a9d4e4d

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

10601060
if (mSettings.checkConfiguration) {
10611061
for (const std::string &config : configurations)
1062-
(void)preprocessor.getcode(tokens1, config, files, true);
1062+
(void)preprocessor.getcode(tokens1, config, files, false);
10631063

10641064
if (analyzerInformation)
10651065
mLogger->setAnalyzerInfo(nullptr);

0 commit comments

Comments
 (0)