summaryrefslogtreecommitdiffstats
path: root/Source/cmAddExecutableCommand.cxx
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/cmAddExecutableCommand.cxx
parent4878c009057cf410fff98d8450e1e7cd2b3072ae (diff)
downloadCMake-b37cc6072f50c175b208f4ba1340bf3b8397ccdc.zip
CMake-b37cc6072f50c175b208f4ba1340bf3b8397ccdc.tar.gz
CMake-b37cc6072f50c175b208f4ba1340bf3b8397ccdc.tar.bz2
COMP: compile fix and remove warning
Alex
Diffstat (limited to 'Source/cmAddExecutableCommand.cxx')
-rw-r--r--Source/cmAddExecutableCommand.cxx2
1 files changed, 1 insertions, 1 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;
}