mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
cmInstallCommandArguments: Remove unreachable code-path
This commit is contained in:
@@ -100,11 +100,7 @@ std::string const& cmInstallCommandArguments::GetComponent() const
|
||||
if (this->GenericArguments) {
|
||||
return this->GenericArguments->GetComponent();
|
||||
}
|
||||
if (!this->DefaultComponentName.empty()) {
|
||||
return this->DefaultComponentName;
|
||||
}
|
||||
static std::string unspecifiedComponent = "Unspecified";
|
||||
return unspecifiedComponent;
|
||||
return this->DefaultComponentName;
|
||||
}
|
||||
|
||||
std::string const& cmInstallCommandArguments::GetNamelinkComponent() const
|
||||
|
||||
Reference in New Issue
Block a user