diff options
Diffstat (limited to 'Source')
-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())) { |