COMP: Remove unused parameter.

This commit is contained in:
Brad King 2008-01-31 06:51:43 -05:00
parent 3edc8e83ef
commit 73a5f0846f
2 changed files with 4 additions and 8 deletions

View File

@ -139,8 +139,7 @@ cmExportFileGenerator
target->GetLinkInterface(config)) target->GetLinkInterface(config))
{ {
// This target provides a link interface, so use it. // This target provides a link interface, so use it.
this->SetImportLinkProperties(config, suffix, target, this->SetImportLinkProperties(suffix, target, *interface, properties);
*interface, properties);
} }
else if(target->GetType() == cmTarget::STATIC_LIBRARY || else if(target->GetType() == cmTarget::STATIC_LIBRARY ||
target->GetType() == cmTarget::SHARED_LIBRARY) target->GetType() == cmTarget::SHARED_LIBRARY)
@ -184,15 +183,13 @@ cmExportFileGenerator
} }
// Store the entries in the property. // Store the entries in the property.
this->SetImportLinkProperties(config, suffix, target, this->SetImportLinkProperties(suffix, target, actual_libs, properties);
actual_libs, properties);
} }
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
void void
cmExportFileGenerator cmExportFileGenerator
::SetImportLinkProperties(const char* config, ::SetImportLinkProperties(std::string const& suffix,
std::string const& suffix,
cmTarget* target, cmTarget* target,
std::vector<std::string> const& libs, std::vector<std::string> const& libs,
ImportPropertyMap& properties) ImportPropertyMap& properties)

View File

@ -70,8 +70,7 @@ protected:
void SetImportLinkProperties(const char* config, void SetImportLinkProperties(const char* config,
std::string const& suffix, cmTarget* target, std::string const& suffix, cmTarget* target,
ImportPropertyMap& properties); ImportPropertyMap& properties);
void SetImportLinkProperties(const char* config, void SetImportLinkProperties(std::string const& suffix,
std::string const& suffix,
cmTarget* target, cmTarget* target,
std::vector<std::string> const& libs, std::vector<std::string> const& libs,
ImportPropertyMap& properties); ImportPropertyMap& properties);