Remove warning

This commit is contained in:
Andy Cedilnik 2002-11-06 11:37:00 -05:00
parent b8548c1db3
commit 0b7d51d79f
2 changed files with 1 additions and 2 deletions

View File

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

View File

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