diff --git a/lib/checkother.cpp b/lib/checkother.cpp index fd073582d..5c05b4b5e 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -45,8 +45,8 @@ CheckOther instance; void CheckOther::warningOldStylePointerCast() { - if (!_settings->_checkCodingStyle || - (_tokenizer->tokens() && _tokenizer->fileLine(_tokenizer->tokens()).find(".cpp") == std::string::npos)) + if (!_settings->_checkCodingStyle || + (_tokenizer->tokens() && _tokenizer->fileLine(_tokenizer->tokens()).find(".cpp") == std::string::npos)) return; for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next())