summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-25 17:40:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-25 17:40:17 (GMT)
commitef07a8565ee0bf80918d4178058cd2ded8722db8 (patch)
tree44362ec6a28825b93a7e81982d07b55a57a595a7
parent626be7884ad0261b0e4ca52fd58a0c8d79a86ae6 (diff)
downloadCMake-ef07a8565ee0bf80918d4178058cd2ded8722db8.zip
CMake-ef07a8565ee0bf80918d4178058cd2ded8722db8.tar.gz
CMake-ef07a8565ee0bf80918d4178058cd2ded8722db8.tar.bz2
COMP: remove an unused variable warning
-rw-r--r--Source/cmSystemTools.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index e2f830f..7bb1283 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1220,7 +1220,6 @@ std::string cmSystemTools::RelativePath(const char* local, const char* remote)
}
// split up both paths into arrays of strings using / as a separator
- std::string localString = local;
std::vector<cmStdString> localSplit = cmSystemTools::SplitString(local, '/', true);
std::vector<cmStdString> remoteSplit = cmSystemTools::SplitString(remote, '/', true);
std::vector<cmStdString> commonPath; // store shared parts of path in this array