summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-12-19 08:56:13 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-12-19 08:56:13 (GMT)
commitac017f7aba06f99611d2dd98dd36ea0ef376dd8d (patch)
tree9f885c295fedeaddaca758c7a9c9c2c33eed4bb8 /Source/cmInstallTargetGenerator.cxx
parent04136a558aae63b97284ddb4db626d79a3898d86 (diff)
downloadCMake-ac017f7aba06f99611d2dd98dd36ea0ef376dd8d.zip
CMake-ac017f7aba06f99611d2dd98dd36ea0ef376dd8d.tar.gz
CMake-ac017f7aba06f99611d2dd98dd36ea0ef376dd8d.tar.bz2
STYLE: fix warnings: comparison signed/unsigned, unused variable
Alex
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index 9998d0d..15aa9e6 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -305,7 +305,7 @@ cmInstallTargetGenerator
os << indent << "IF(EXISTS \"" << toDestDirPath << "\")\n";
this->AddInstallNamePatchRule(os, indent.Next(), config, toDestDirPath);
- this->AddChrpathPatchRule(os, indent.Next(), config, toDestDirPath);
+ this->AddChrpathPatchRule(os, indent.Next(), toDestDirPath);
this->AddRanlibRule(os, indent.Next(), type, toDestDirPath);
this->AddStripRule(os, indent.Next(), type, toDestDirPath);
os << indent << "ENDIF(EXISTS \"" << toDestDirPath << "\")\n";
@@ -509,7 +509,7 @@ cmInstallTargetGenerator
void
cmInstallTargetGenerator
::AddChrpathPatchRule(std::ostream& os, Indent const& indent,
- const char* config, std::string const& toDestDirPath)
+ std::string const& toDestDirPath)
{
if(this->ImportLibrary ||
!(this->Target->GetType() == cmTarget::SHARED_LIBRARY ||