[glibmm] Fix compiler warnings.



commit b098610f47e2231531f63d720edc43f75eafe8f4
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Apr 2 15:36:27 2011 +0200

    Fix compiler warnings.

 examples/dbus/server.cc              |    2 +-
 examples/dbus/session_bus_service.cc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/examples/dbus/server.cc b/examples/dbus/server.cc
index 64166d0..d50632d 100644
--- a/examples/dbus/server.cc
+++ b/examples/dbus/server.cc
@@ -56,7 +56,7 @@ static Glib::RefPtr<Gio::DBus::Connection> current_connection;
 
 } // anonymous namespace
 
-static void on_method_call(const Glib::RefPtr<Gio::DBus::Connection>& connection,
+static void on_method_call(const Glib::RefPtr<Gio::DBus::Connection>& /* connection */,
   const Glib::ustring& /* sender */, const Glib::ustring& /* object_path */,
   const Glib::ustring& /* interface_name */, const Glib::ustring& method_name,
   const Glib::VariantContainerBase& parameters,
diff --git a/examples/dbus/session_bus_service.cc b/examples/dbus/session_bus_service.cc
index 3a40786..0f0bd01 100644
--- a/examples/dbus/session_bus_service.cc
+++ b/examples/dbus/session_bus_service.cc
@@ -54,7 +54,7 @@ static Glib::TimeVal curr_alarm;
 
 } // anonymous namespace
 
-static void on_method_call(const Glib::RefPtr<Gio::DBus::Connection>& connection,
+static void on_method_call(const Glib::RefPtr<Gio::DBus::Connection>& /* connection */,
   const Glib::ustring& /* sender */, const Glib::ustring& /* object_path */,
   const Glib::ustring& /* interface_name */, const Glib::ustring& method_name,
   const Glib::VariantContainerBase& parameters,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]