summaryrefslogtreecommitdiffstats
path: root/Source/cmAddSubDirectoryCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-06-05 19:28:33 (GMT)
committerBrad King <brad.king@kitware.com>2006-06-05 19:28:33 (GMT)
commita7441ce80e0869de1848c70b5a75a61c3d9d1b15 (patch)
tree7801c138759c809e94747814ce08e3b0d6af143c /Source/cmAddSubDirectoryCommand.cxx
parentdf70e3de66eb6821570db89d9f631a25f353694e (diff)
downloadCMake-a7441ce80e0869de1848c70b5a75a61c3d9d1b15.zip
CMake-a7441ce80e0869de1848c70b5a75a61c3d9d1b15.tar.gz
CMake-a7441ce80e0869de1848c70b5a75a61c3d9d1b15.tar.bz2
COMP: Removed unused variable.
Diffstat (limited to 'Source/cmAddSubDirectoryCommand.cxx')
-rw-r--r--Source/cmAddSubDirectoryCommand.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmAddSubDirectoryCommand.cxx b/Source/cmAddSubDirectoryCommand.cxx
index 8f28499..d44359c 100644
--- a/Source/cmAddSubDirectoryCommand.cxx
+++ b/Source/cmAddSubDirectoryCommand.cxx
@@ -54,14 +54,12 @@ bool cmAddSubDirectoryCommand::InitialPass
}
// check for relative arguments
- bool relativeSource = true;
std::string binPath = binArg;
std::string srcPath = std::string(this->Makefile->GetCurrentDirectory()) +
"/" + srcArg;
// if the path does not exist then the arg was relative
if (!cmSystemTools::FileIsDirectory(srcPath.c_str()))
{
- relativeSource = false;
srcPath = srcArg;
if (!cmSystemTools::FileIsDirectory(srcPath.c_str()))
{