[glibmm] Avoid compiler warning.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Avoid compiler warning.
- Date: Fri, 4 Jun 2010 15:15:08 +0000 (UTC)
commit 1b4658b03734b73e7f91b785abe513f5f3653e36
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Jun 4 17:14:57 2010 +0200
Avoid compiler warning.
* examples/settings/settings.cc: Comment out an unused paramter to
fix a compiler warning, to partly fix the distcheck.
ChangeLog | 7 +++++++
examples/settings/settings.cc | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index aa12aea..25c61df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-04 Murray Cumming <murrayc murrayc com>
+
+ Avoid compiler warning.
+
+ * examples/settings/settings.cc: Comment out an unused paramter to
+ fix a compiler warning, to partly fix the distcheck.
+
2010-06-02 José Alburquerque <jaalburqu svn gnome org>
Gio::Settings: [get|set]_strv(): Rename to [get|set]_string_array().
diff --git a/examples/settings/settings.cc b/examples/settings/settings.cc
index c9da1de..6e08ae7 100644
--- a/examples/settings/settings.cc
+++ b/examples/settings/settings.cc
@@ -38,7 +38,7 @@ static void on_key_changed(const Glib::ustring& key, const Glib::RefPtr<Gio::Set
std::cerr << "Unknown key\n";
}
-int main(int argc, char** argv)
+int main(int /* argc */, char** argv)
{
Glib::init();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]