summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-05-22 14:42:37 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-05-22 14:42:37 (GMT)
commitb37cc6072f50c175b208f4ba1340bf3b8397ccdc (patch)
treec498879b3fadd6c37df16be99ad7fda886bb7005 /Source
parent4878c009057cf410fff98d8450e1e7cd2b3072ae (diff)
downloadCMake-b37cc6072f50c175b208f4ba1340bf3b8397ccdc.zip
CMake-b37cc6072f50c175b208f4ba1340bf3b8397ccdc.tar.gz
CMake-b37cc6072f50c175b208f4ba1340bf3b8397ccdc.tar.bz2
COMP: compile fix and remove warning
Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmAddExecutableCommand.cxx2
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx2
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx3
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx3
4 files changed, 4 insertions, 6 deletions
diff --git a/Source/cmAddExecutableCommand.cxx b/Source/cmAddExecutableCommand.cxx
index ad2044c..bc6a2c4 100644
--- a/Source/cmAddExecutableCommand.cxx
+++ b/Source/cmAddExecutableCommand.cxx
@@ -63,7 +63,7 @@ bool cmAddExecutableCommand::InitialPass(std::vector<std::string> const& args)
if (importTarget)
{
- cmTarget* target = this->Makefile->AddNewTarget(cmTarget::EXECUTABLE, exename.c_str(), true);
+ this->Makefile->AddNewTarget(cmTarget::EXECUTABLE, exename.c_str(), true);
return true;
}
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index f06c77d..13758c5 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -401,7 +401,7 @@ void cmGlobalVisualStudio6Generator::WriteProject(std::ostream& fout,
if(j->first != dspname)
{
// is the library part of this DSW ? If so add dependency
- if(this->FindTarget(0, j->first.c_str()), false)
+ if(this->FindTarget(0, j->first.c_str(), false))
{
fout << "Begin Project Dependency\n";
fout << "Project_Dep_Name " << j->first.c_str() << "\n";
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index 523c3e0..fe67f01 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -334,8 +334,7 @@ cmGlobalVisualStudio71Generator
{
// is the library part of this SLN ? If so add dependency
if(this->FindTarget(this->CurrentProject.c_str(),
- j->first.c_str()),
- false)
+ j->first.c_str(), false))
{
fout << "\t\t{" << this->GetGUID(j->first.c_str()) << "} = {"
<< this->GetGUID(j->first.c_str()) << "}\n";
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 2877b7a..a4d2258 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -589,8 +589,7 @@ cmGlobalVisualStudio7Generator
{
// is the library part of this SLN ? If so add dependency
if(this->FindTarget(this->CurrentProject.c_str(),
- j->first.c_str()),
- false)
+ j->first.c_str(), false))
{
std::string guid = this->GetGUID(j->first.c_str());
if(guid.size() == 0)