[gssdp] Fix build with -Werror
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] Fix build with -Werror
- Date: Mon, 29 Aug 2011 12:45:55 +0000 (UTC)
commit 486d32f2a9e8a7f29a9f60a61df86bc13a49a017
Author: Jens Georg <mail jensge org>
Date: Mon Aug 29 14:45:32 2011 +0200
Fix build with -Werror
libgssdp/gssdp-resource-group.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/libgssdp/gssdp-resource-group.c b/libgssdp/gssdp-resource-group.c
index ab308a8..8fd68f8 100644
--- a/libgssdp/gssdp-resource-group.c
+++ b/libgssdp/gssdp-resource-group.c
@@ -523,8 +523,6 @@ void
gssdp_resource_group_set_available (GSSDPResourceGroup *resource_group,
gboolean available)
{
- GList *l;
-
g_return_if_fail (GSSDP_IS_RESOURCE_GROUP (resource_group));
if (resource_group->priv->available == available)
@@ -725,13 +723,11 @@ static gboolean
resource_group_timeout (gpointer user_data)
{
GSSDPResourceGroup *resource_group;
- GList *l;
- int i;
resource_group = GSSDP_RESOURCE_GROUP (user_data);
send_announcement_set (resource_group->priv->resources,
- resource_alive);
+ (GFunc) resource_alive);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]