Browse Source

Remove warning

Andy Cedilnik 23 years ago
parent
commit
0b7d51d79f
2 changed files with 1 additions and 2 deletions
  1. 0 1
      Source/CursesDialog/cmCursesPathWidget.cxx
  2. 1 1
      Source/cmSystemTools.cxx

+ 0 - 1
Source/CursesDialog/cmCursesPathWidget.cxx

@@ -39,7 +39,6 @@ void cmCursesPathWidget::OnType(int& key, cmCursesMainForm* fm, WINDOW* w)
 
 void cmCursesPathWidget::OnTab(cmCursesMainForm* fm, WINDOW* w)
 {
-  std::string::size_type cc;
   if ( !this->GetString() )
     {
     return;

+ 1 - 1
Source/cmSystemTools.cxx

@@ -2275,7 +2275,7 @@ bool cmSystemTools::SimpleGlob(const std::string& glob,
     path = "/";
     }
 
-  bool res;
+  bool res = false;
   cmDirectory d;
   if (d.Load(path.c_str()))
     {