summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesMainForm.cxx
diff options
context:
space:
mode:
authorMartin Duffy <martin.duffy@kitware.com>2022-05-12 20:40:58 (GMT)
committerMartin Duffy <martin.duffy@kitware.com>2022-05-12 20:40:58 (GMT)
commite1c85e29f4a09b45fa3cb29e4f225e68c32d9932 (patch)
treec0ba073c2e839fbe40c988fe9a04beb5a5753daf /Source/CursesDialog/cmCursesMainForm.cxx
parent2019bf509268e336f4f68ddf0c05dce49dc289c6 (diff)
downloadCMake-e1c85e29f4a09b45fa3cb29e4f225e68c32d9932.zip
CMake-e1c85e29f4a09b45fa3cb29e4f225e68c32d9932.tar.gz
CMake-e1c85e29f4a09b45fa3cb29e4f225e68c32d9932.tar.bz2
ccmake: Move Initialization of Fields Inline
Move initialization of simple fields in cmCursesMainForm inline.
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.cxx')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 11b3b35..cd0a4bd 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -35,11 +35,6 @@ cmCursesMainForm::cmCursesMainForm(std::vector<std::string> args,
: Args(std::move(args))
, InitialWidth(initWidth)
{
- this->HasNonStatusOutputs = false;
- this->NumberOfPages = 0;
- this->AdvancedMode = false;
- this->NumberOfVisibleEntries = 0;
- this->OkToGenerate = false;
this->HelpMessage.emplace_back(
"Welcome to ccmake, curses based user interface for CMake.");
this->HelpMessage.emplace_back();
@@ -54,7 +49,6 @@ cmCursesMainForm::cmCursesMainForm(std::vector<std::string> args,
cmStrCat(cmSystemTools::GetProgramPath(this->Args[0]), "/cmake");
this->Args[0] = whereCMake;
this->CMakeInstance->SetArgs(this->Args);
- this->SearchMode = false;
}
cmCursesMainForm::~cmCursesMainForm()