summaryrefslogtreecommitdiff
path: root/Source/cmAddSubDirectoryCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-06-05 15:28:33 -0400
committerBrad King <brad.king@kitware.com>2006-06-05 15:28:33 -0400
commita7441ce80e0869de1848c70b5a75a61c3d9d1b15 (patch)
tree7801c138759c809e94747814ce08e3b0d6af143c /Source/cmAddSubDirectoryCommand.cxx
parentdf70e3de66eb6821570db89d9f631a25f353694e (diff)
downloadcmake-a7441ce80e0869de1848c70b5a75a61c3d9d1b15.tar.gz
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 8f2849901e..d44359c202 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()))
{