summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-05-23 12:24:29 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-05-23 12:24:29 (GMT)
commit526b72e12ce05798e897ad544b28924db4651946 (patch)
tree8a198021dba5f80467af4edf6c9cd6d2279745e4 /Source/cmTarget.cxx
parent1d84b369359ee0a139b1bd29fdb4852f32319dbf (diff)
downloadCMake-526b72e12ce05798e897ad544b28924db4651946.zip
CMake-526b72e12ce05798e897ad544b28924db4651946.tar.gz
CMake-526b72e12ce05798e897ad544b28924db4651946.tar.bz2
COMP: don't user string::clear(), fix warnings about unused variables
Alex
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index f6f23e0..6ae0aef 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -1237,7 +1237,7 @@ const char* cmTarget::GetDirectory(const char* config, bool implib)
}
}
-const char* cmTarget::ImportedGetDirectory(const char* config, bool implib)
+const char* cmTarget::ImportedGetDirectory(const char* config, bool)
{
const char* location=this->GetLocation(config);
std::string directory=cmSystemTools::GetFilenamePath(location);
@@ -1693,9 +1693,9 @@ void cmTarget::GetFullNameInternal(TargetType type,
}
}
-void cmTarget::ImportedGetFullNameInternal(TargetType type,
+void cmTarget::ImportedGetFullNameInternal(TargetType ,
const char* config,
- bool implib,
+ bool ,
std::string& outPrefix,
std::string& outBase,
std::string& outSuffix)
@@ -1705,7 +1705,7 @@ void cmTarget::ImportedGetFullNameInternal(TargetType type,
std::string location=this->GetLocation(config);
outBase=cmSystemTools::GetFilenameWithoutExtension(location);
outSuffix = cmSystemTools::GetFilenameExtension(location);
- outPrefix.clear();
+ outPrefix = "";
}