summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-19 21:35:49 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-19 21:35:49 (GMT)
commitb6e4bc0521290b18d0914d21e19f31f66b328140 (patch)
treef1623bc125cad79862be6c6b274214940b440fcc /Source
parente14d59119410314538ede3dd819f7d1fcf9f43f2 (diff)
downloadCMake-b6e4bc0521290b18d0914d21e19f31f66b328140.zip
CMake-b6e4bc0521290b18d0914d21e19f31f66b328140.tar.gz
CMake-b6e4bc0521290b18d0914d21e19f31f66b328140.tar.bz2
COMP: Removed unused variables.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmInstallCommand.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 1a5b722..0750173 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -94,8 +94,6 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
std::vector<cmTarget*> targets;
const char* library_destination = 0;
const char* runtime_destination = 0;
- cmLocalGenerator* lg = m_Makefile->GetLocalGenerator();
- cmGlobalGenerator* gg = lg->GetGlobalGenerator();
for(unsigned int i=1; i < args.size(); ++i)
{
if(args[i] == "DESTINATION")
@@ -122,7 +120,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
}
else if(doing_targets)
{
- // Lookup this target in the current project.
+ // Lookup this target in the current directory.
if(cmTarget* target = m_Makefile->FindTarget(args[i].c_str()))
{
// Found the target. Check its type.