From a9784d0e26a9d9c881248326b2385cefbb732de7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 7 Apr 2017 14:29:47 -0400 Subject: cmGeneratorTarget: Remove unnecessary condition Remove a condition where the "then" and "else" cases do the same thing. --- Source/cmGeneratorTarget.cxx | 2 -- 1 file changed, 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::Result>::Do(this->Data, sf); } else if (this->Header.find(sf->GetFullPath().c_str())) { DoAccept::Result>::Do(this->Data, sf); - } else if (this->GlobalGenerator->IgnoreFile(sf->GetExtension().c_str())) { - DoAccept::Result>::Do(this->Data, sf); } else { DoAccept::Result>::Do(this->Data, sf); } -- cgit v0.12