summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-09 23:16:46 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-09 23:16:46 (GMT)
commit729bc4cb6d4b7b0834a6e31aa36fa431f5ab0518 (patch)
tree116bf2c52be294e3897375a63312ac3ceae81e6d /Source/CursesDialog
parent56f55250a271f979be41b42cbc3c4553f9160876 (diff)
downloadCMake-729bc4cb6d4b7b0834a6e31aa36fa431f5ab0518.zip
CMake-729bc4cb6d4b7b0834a6e31aa36fa431f5ab0518.tar.gz
CMake-729bc4cb6d4b7b0834a6e31aa36fa431f5ab0518.tar.bz2
Remove warnings
Diffstat (limited to 'Source/CursesDialog')
-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 )
{