diff --git a/src/command.cpp b/src/command.cpp index 3308fcd59..fb97800d6 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -367,17 +367,18 @@ std::string handleVersion (Config& conf) std::vector unrecognized; foreach (i, all) { - if (recognized.find (*i) == std::string::npos) - { - // These are special configuration variables, because their name is - // dynamic. - if (i->find ("color.keyword.") == std::string::npos && - i->find ("color.project.") == std::string::npos && - i->find ("color.tag.") == std::string::npos) - { - unrecognized.push_back (*i); - } - } + if (recognized.find (*i) == std::string::npos) + { + // These are special configuration variables, because their name is + // dynamic. + if (i->find ("color.keyword.") == std::string::npos && + i->find ("color.project.") == std::string::npos && + i->find ("color.tag.") == std::string::npos && + i->find ("report.") == std::string::npos) + { + unrecognized.push_back (*i); + } + } } if (unrecognized.size ())