[glibmm] Fix the make check build with --enable-warnings=fatal.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Fix the make check build with --enable-warnings=fatal.
- Date: Thu, 10 Feb 2011 08:16:40 +0000 (UTC)
commit 2d080efccf60a203cd880f4a7b5acaa6317cfef2
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Feb 8 11:02:29 2011 +0100
Fix the make check build with --enable-warnings=fatal.
* examples/options/main.cc: Comment-out unused method parameters.
ChangeLog | 6 ++++++
examples/options/main.cc | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f6fd1d8..0a20cec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-08 Murray Cumming <murrayc murrayc com>
+
+ Fix the make check build with --enable-warnings=fatal.
+
+ * examples/options/main.cc: Comment-out unused method parameters.
+
2011-02-06 Kjell Ahlstedt <kjell ahlstedt bredband net>
OptionGroup: An on_post_parse() override need not call the base class.
diff --git a/examples/options/main.cc b/examples/options/main.cc
index 64166c8..0ba5372 100644
--- a/examples/options/main.cc
+++ b/examples/options/main.cc
@@ -80,7 +80,7 @@ ExampleOptionGroup::ExampleOptionGroup()
add_entry(entry_remaining, m_remaining_list);
}
-bool ExampleOptionGroup::on_pre_parse(Glib::OptionContext& context, Glib::OptionGroup& group)
+bool ExampleOptionGroup::on_pre_parse(Glib::OptionContext& /* context */, Glib::OptionGroup& /* group */)
{
//This is called before the m_arg_* instances are given their values.
// You do not need to override this method. This is just here to show you how,
@@ -89,7 +89,7 @@ bool ExampleOptionGroup::on_pre_parse(Glib::OptionContext& context, Glib::Option
return true;
}
-bool ExampleOptionGroup::on_post_parse(Glib::OptionContext& context, Glib::OptionGroup& group)
+bool ExampleOptionGroup::on_post_parse(Glib::OptionContext& /* context */, Glib::OptionGroup& /* group */)
{
//This is called after the m_arg_* instances are given their values.
// You do not need to override this method. This is just here to show you how,
@@ -98,7 +98,7 @@ bool ExampleOptionGroup::on_post_parse(Glib::OptionContext& context, Glib::Optio
return true;
}
-void ExampleOptionGroup::on_error(Glib::OptionContext& context, Glib::OptionGroup& group)
+void ExampleOptionGroup::on_error(Glib::OptionContext& /* context */, Glib::OptionGroup& /* group */)
{
std::cout << "on_error called" << std::endl;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]