summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorPavel Solodovnikov <hellyeahdominate@gmail.com>2017-05-26 16:52:31 (GMT)
committerPavel Solodovnikov <hellyeahdominate@gmail.com>2017-05-26 16:52:31 (GMT)
commit1e4e2f993c5914d329cbee355035166e12151081 (patch)
tree9ecee5161a2162d15630e0e4fd8fdeb0fadc696d /Source/cmSystemTools.cxx
parent25486156305dc0693366c0c7e5dc6c7035ab49a9 (diff)
downloadCMake-1e4e2f993c5914d329cbee355035166e12151081.zip
CMake-1e4e2f993c5914d329cbee355035166e12151081.tar.gz
CMake-1e4e2f993c5914d329cbee355035166e12151081.tar.bz2
Remove unused variables
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 9f9cc6f..dc7034e 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -196,7 +196,6 @@ void cmSystemTools::ExpandRegistryValues(std::string& source,
while (regEntry.find(source)) {
// the arguments are the second match
std::string key = regEntry.match(1);
- std::string val;
std::string reg = "[";
reg += key + "]";
cmSystemTools::ReplaceString(source, reg.c_str(), "/registry");