[gupnp] [PATCH 1/2] Remove redundant code
- From: Sven Neumann <s neumann raumfeld com>
- To: gupnp o-hand com
- Cc: Sven Neumann <s neumann raumfeld com>
- Subject: [gupnp] [PATCH 1/2] Remove redundant code
- Date: Thu, 17 Feb 2011 17:54:01 +0100
The same check has already been done a few lines above.
---
libgupnp/gupnp-control-point.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/libgupnp/gupnp-control-point.c b/libgupnp/gupnp-control-point.c
index 6c66dce..3e09583 100644
--- a/libgupnp/gupnp-control-point.c
+++ b/libgupnp/gupnp-control-point.c
@@ -471,9 +471,6 @@ description_loaded (GUPnPControlPoint *control_point,
return;
}
- if (element == NULL)
- return;
-
url_base = xml_util_get_child_element_content_uri (element,
"URLBase",
NULL);
--
1.7.1
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]