mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-09 17:18:18 +00: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