libepc r212 - in trunk: . libepc



Author: hasselmm
Date: Sat Mar 22 14:55:48 2008
New Revision: 212
URL: http://svn.gnome.org/viewvc/libepc?rev=212&view=rev

Log:
Make libsoup-2.4 variant build with -Werror again.

* libepc/publisher.c: Mark some arguments as unused.


Modified:
   trunk/ChangeLog
   trunk/libepc/publisher.c

Modified: trunk/libepc/publisher.c
==============================================================================
--- trunk/libepc/publisher.c	(original)
+++ trunk/libepc/publisher.c	Sat Mar 22 14:55:48 2008
@@ -476,7 +476,7 @@
 epc_publisher_handle_contents (SoupServer        *server,
                                SoupMessage       *message,
                                const gchar       *path,
-                               GHashTable        *query,
+                               GHashTable        *query G_GNUC_UNUSED,
                                SoupClientContext *context,
                                gpointer           data)
 #endif
@@ -561,7 +561,7 @@
 epc_publisher_handle_list (SoupServer        *server,
                            SoupMessage       *message,
                            const char        *path,
-                           GHashTable        *query,
+                           GHashTable        *query G_GNUC_UNUSED,
                            SoupClientContext *context,
                            gpointer           data)
 #endif
@@ -623,7 +623,7 @@
 epc_publisher_handle_root (SoupServer        *server,
                            SoupMessage       *message,
                            const char        *path,
-                           GHashTable        *query,
+                           GHashTable        *query G_GNUC_UNUSED,
                            SoupClientContext *context,
                            gpointer           data)
 #endif
@@ -779,7 +779,7 @@
 #else
 
 static gboolean
-epc_publisher_auth_filter (SoupAuthDomain *domain,
+epc_publisher_auth_filter (SoupAuthDomain *domain G_GNUC_UNUSED,
                            SoupMessage    *message,
                            gpointer        data)
 {
@@ -801,7 +801,7 @@
 }
 
 static gboolean
-epc_publisher_basic_auth_cb (SoupAuthDomain *domain,
+epc_publisher_basic_auth_cb (SoupAuthDomain *domain G_GNUC_UNUSED,
                              SoupMessage    *message,
                              const gchar    *username,
                              const gchar    *password,
@@ -827,7 +827,7 @@
 }
 
 static gboolean
-epc_publisher_generic_auth_cb (SoupAuthDomain *domain,
+epc_publisher_generic_auth_cb (SoupAuthDomain *domain G_GNUC_UNUSED,
                                SoupMessage    *message,
                                const char     *username,
                                gpointer        data)



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