Skip to content

Commit 9167d91

Browse files
committed
CppCheck: no need to write locations in unused preprocessor output
1 parent 98d5d6c commit 9167d91

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
@@ -1055,7 +1055,7 @@ unsigned int CppCheck::checkInternal(const FileWithDetails& file, const std::str
10551055

10561056
if (mSettings.checkConfiguration) {
10571057
for (const std::string &config : configurations)
1058-
(void)preprocessor.getcode(tokens1, config, files, true);
1058+
(void)preprocessor.getcode(tokens1, config, files, false);
10591059

10601060
if (analyzerInformation)
10611061
mLogger->setAnalyzerInfo(nullptr);

0 commit comments

Comments
 (0)