[gupnp] cleanup code from dead assignments
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] cleanup code from dead assignments
- Date: Fri, 9 Dec 2011 11:26:19 +0000 (UTC)
commit f42f6e118892cee6dbf75f89f15c405f3cd8d576
Author: Lukasz Pawlik <lucas pawlik gmail com>
Date: Thu Nov 17 13:38:10 2011 +0100
cleanup code from dead assignments
Variable context is not read anywhere so remove it.
libgupnp/gupnp-service.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c
index a2b40df..d9e1df3 100644
--- a/libgupnp/gupnp-service.c
+++ b/libgupnp/gupnp-service.c
@@ -1154,7 +1154,6 @@ subscribe (GUPnPService *service,
{
SubscriptionData *data;
char *start, *end, *uri;
- GUPnPContext *context;
data = g_slice_new0 (SubscriptionData);
@@ -1196,7 +1195,6 @@ subscribe (GUPnPService *service,
data,
NULL);
- context = gupnp_service_info_get_context (GUPNP_SERVICE_INFO (service));
g_source_attach (data->timeout_src,
g_main_context_get_thread_default ());
@@ -1220,7 +1218,6 @@ resubscribe (GUPnPService *service,
const char *sid)
{
SubscriptionData *data;
- GUPnPContext *context;
data = g_hash_table_lookup (service->priv->subscriptions, sid);
if (!data) {
@@ -1241,7 +1238,6 @@ resubscribe (GUPnPService *service,
data,
NULL);
- context = gupnp_service_info_get_context (GUPNP_SERVICE_INFO (service));
g_source_attach (data->timeout_src,
g_main_context_get_thread_default ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]