summaryrefslogtreecommitdiff
path: root/Source/cmForEachCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-22 14:04:52 -0400
committerKen Martin <ken.martin@kitware.com>2005-06-22 14:04:52 -0400
commit6e6bfc752bef548fefa6bec2b117e45039712aa2 (patch)
tree72551d26c40d8830c0bd9934bc1a6cc7f5c406ef /Source/cmForEachCommand.cxx
parentf5dbca49714bea423c505f7aab6690673b528b4d (diff)
downloadcmake-6e6bfc752bef548fefa6bec2b117e45039712aa2.tar.gz
COMP: fix unused variable
Diffstat (limited to 'Source/cmForEachCommand.cxx')
-rw-r--r--Source/cmForEachCommand.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmForEachCommand.cxx b/Source/cmForEachCommand.cxx
index 5b11271990..3ae244efb1 100644
--- a/Source/cmForEachCommand.cxx
+++ b/Source/cmForEachCommand.cxx
@@ -36,9 +36,6 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf)
// store the old value
const char *oldDef = mf.GetDefinition(m_Args[0].c_str());
m_Executing = true;
- std::string variable = "${";
- variable += m_Args[0];
- variable += "}";
std::vector<std::string>::const_iterator j = m_Args.begin();
++j;