diff options
author | Brad King <brad.king@kitware.com> | 2017-04-07 18:29:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-07 18:29:47 (GMT) |
commit | a9784d0e26a9d9c881248326b2385cefbb732de7 (patch) | |
tree | 6464f30cf987d12a464513a164efc51919768f8b /Source/cmGeneratorTarget.cxx | |
parent | 8bb5c14fd8aadc43580625bba0e1be6c93456131 (diff) | |
download | CMake-a9784d0e26a9d9c881248326b2385cefbb732de7.zip CMake-a9784d0e26a9d9c881248326b2385cefbb732de7.tar.gz CMake-a9784d0e26a9d9c881248326b2385cefbb732de7.tar.bz2 |
cmGeneratorTarget: Remove unnecessary condition
Remove a condition where the "then" and "else" cases do the same thing.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 88f3978..617be27 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -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); } |