fixed gcc compiler warning

This commit is contained in:
Daniel Marjamäki 2011-04-06 21:40:50 +02:00
parent e9f49cd30b
commit b5bdb9eeae
1 changed files with 1 additions and 1 deletions

View File

@ -1910,7 +1910,7 @@ void Preprocessor::handleIncludes(std::string &code, const std::string &filePath
} }
else if (!fileOpened) else if (!fileOpened)
{ {
if (_errorLogger && _settings && ((headerType == UserHeader) && _settings->isEnabled("missingInclude") || _settings->debugwarnings)) if (_errorLogger && _settings && ((headerType == UserHeader && _settings->isEnabled("missingInclude")) || _settings->debugwarnings))
{ {
std::string f = filePath; std::string f = filePath;