summaryrefslogtreecommitdiffstats
path: root/Source/cmakewizard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmakewizard.cxx')
-rw-r--r--Source/cmakewizard.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmakewizard.cxx b/Source/cmakewizard.cxx
index 2144a41..7ff4842 100644
--- a/Source/cmakewizard.cxx
+++ b/Source/cmakewizard.cxx
@@ -24,8 +24,7 @@ cmakewizard::cmakewizard()
}
-void cmakewizard::AskUser(const char* key, cmCacheManager::CacheIterator& iter,
- cmCacheManager *cacheManager)
+void cmakewizard::AskUser(const char* key, cmCacheManager::CacheIterator& iter)
{
std::cout << "Variable Name: " << key << "\n";
const char* helpstring = iter.GetProperty("HELPSTRING");
@@ -118,7 +117,7 @@ void cmakewizard::RunWizard(std::vector<std::string> const& args)
{
if(m_ShowAdvanced || !i.GetPropertyAsBool("ADVANCED"))
{
- this->AskUser(key.c_str(), i, cachem);
+ this->AskUser(key.c_str(), i);
asked = true;
}
}
@@ -127,7 +126,7 @@ void cmakewizard::RunWizard(std::vector<std::string> const& args)
{
if(m_ShowAdvanced || !i.GetPropertyAsBool("ADVANCED"))
{
- this->AskUser(key.c_str(), i, cachem);
+ this->AskUser(key.c_str(), i);
asked = true;
}
}