diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-11-06 16:37:00 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-11-06 16:37:00 (GMT) |
commit | 0b7d51d79fb2621e84b1d2de16846426304e5f97 (patch) | |
tree | 7a8fa67de8d09aa40df4a945377285a3a6c5dd8b | |
parent | b8548c1db32c6a007744ddd177ab71e4f7121929 (diff) | |
download | CMake-0b7d51d79fb2621e84b1d2de16846426304e5f97.zip CMake-0b7d51d79fb2621e84b1d2de16846426304e5f97.tar.gz CMake-0b7d51d79fb2621e84b1d2de16846426304e5f97.tar.bz2 |
Remove warning
-rw-r--r-- | Source/CursesDialog/cmCursesPathWidget.cxx | 1 | ||||
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesPathWidget.cxx b/Source/CursesDialog/cmCursesPathWidget.cxx index 846603a..36ef5b9 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 1b6a41a..1a81a18 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())) { |