From 0b7d51d79fb2621e84b1d2de16846426304e5f97 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 6 Nov 2002 11:37:00 -0500 Subject: [PATCH] Remove warning --- Source/CursesDialog/cmCursesPathWidget.cxx | 1 - Source/cmSystemTools.cxx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/CursesDialog/cmCursesPathWidget.cxx b/Source/CursesDialog/cmCursesPathWidget.cxx index 846603a15..36ef5b984 100644 --- a/Source/CursesDialog/cmCursesPathWidget.cxx +++ b/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; diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 1b6a41a63..1a81a1874 100644 --- a/Source/cmSystemTools.cxx +++ b/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())) {