[Telepathy-commits] [telepathy-gabble/master] olpc-olpc: buddy_changed: no need to check twice if the view is not NULL
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Fri Sep 26 10:02:47 PDT 2008
20080728154100-7fe3f-9bd81fac42aa8147cfedb2ffbed04e7c575f1da4.gz
---
src/conn-olpc.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/conn-olpc.c b/src/conn-olpc.c
index 60bcd2e..d9e00ad 100644
--- a/src/conn-olpc.c
+++ b/src/conn-olpc.c
@@ -2963,10 +2963,7 @@ buddy_changed (GabbleConnection *conn,
properties = lm_message_node_extract_properties (node,
"property");
- if (view != NULL)
- {
- gabble_olpc_view_set_buddy_properties (view, handle, properties);
- }
+ gabble_olpc_view_set_buddy_properties (view, handle, properties);
gabble_svc_olpc_buddy_info_emit_properties_changed (conn, handle,
properties);
--
1.5.6.5
More information about the Telepathy-commits
mailing list