From 6836198a5cb05568a7edabe5ef965f232b8a923c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 13 Nov 2010 13:06:58 +0100 Subject: [PATCH] system headers: merged the systemheaders branch into master. it works pretty well. Ticket: #1937 --- lib/preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/preprocessor.cpp b/lib/preprocessor.cpp index 95a16074c..bd9ed1b7f 100644 --- a/lib/preprocessor.cpp +++ b/lib/preprocessor.cpp @@ -1580,7 +1580,7 @@ void Preprocessor::handleIncludes(std::string &code, const std::string &filePath } else if (!fileOpened) { - if (headerType == UserHeader && _errorLogger && _settings && _settings->isEnabled("missingInclude")) + if (_errorLogger && _settings && _settings->isEnabled("missingInclude")) { // Determine line number of include unsigned int linenr = 1;