From 729bc4cb6d4b7b0834a6e31aa36fa431f5ab0518 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 9 Mar 2003 18:16:46 -0500 Subject: [PATCH] Remove warnings --- Source/CursesDialog/cmCursesMainForm.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index be6bc57df..512dcd6ee 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(field_userptr( currentField)); - bool widgetHandled; + bool widgetHandled=false; if ( m_SearchMode ) {