mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
cmGeneratorTarget: Remove unnecessary condition
Remove a condition where the "then" and "else" cases do the same thing.
This commit is contained in:
1 parent
8bb5c14fd8
commit
a9784d0e26
1 file changed
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user