@@ -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;
@@ -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()))