summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesMainForm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.cxx')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index be6bc57..512dcd6 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -796,7 +796,7 @@ void cmCursesMainForm::FillCacheManagerFromUI()
void cmCursesMainForm::HandleInput()
{
- int x,y;
+ int x=0,y=0;
if (!m_Form)
{
@@ -844,7 +844,7 @@ void cmCursesMainForm::HandleInput()
currentWidget = reinterpret_cast<cmCursesWidget*>(field_userptr(
currentField));
- bool widgetHandled;
+ bool widgetHandled=false;
if ( m_SearchMode )
{