cmGeneratorTarget: Remove unnecessary condition

Remove a condition where the "then" and "else" cases do the same thing.
This commit is contained in:
Brad King 2017-04-07 14:29:47 -04:00
parent 8bb5c14fd8
commit a9784d0e26

View File

@ -258,8 +258,6 @@ struct TagVisitor
DoAccept<IsSameTag<Tag, XamlTag>::Result>::Do(this->Data, sf);
} else if (this->Header.find(sf->GetFullPath().c_str())) {
DoAccept<IsSameTag<Tag, HeaderSourcesTag>::Result>::Do(this->Data, sf);
} else if (this->GlobalGenerator->IgnoreFile(sf->GetExtension().c_str())) {
DoAccept<IsSameTag<Tag, ExtraSourcesTag>::Result>::Do(this->Data, sf);
} else {
DoAccept<IsSameTag<Tag, ExtraSourcesTag>::Result>::Do(this->Data, sf);
}