summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CursesDialog/ccmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index 380aa82..e46278a 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -63,7 +63,6 @@ int main(int argc, char** argv)
bool debug = false;
unsigned int i;
int j;
- cmake msg;
std::vector<std::string> args;
for(j =0; j < argc; ++j)
{
@@ -90,6 +89,7 @@ int main(int argc, char** argv)
arg.find("/?",0) != std::string::npos ||
arg.find("-usage",0) != std::string::npos)
{
+ cmake msg;
msg.Usage(args[0].c_str());
return -1;
}