changeset 32772:638a67eb5f4f

Remove unnecessary check
author Mark Doliner <mark@kingant.net>
date Mon, 16 Apr 2012 06:53:05 +0000
parents 52fb2e955198
children 4d33c1b30788
files libpurple/protocols/oscar/family_locate.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_locate.c	Fri Apr 13 07:39:04 2012 +0000
+++ b/libpurple/protocols/oscar/family_locate.c	Mon Apr 16 06:53:05 2012 +0000
@@ -1355,7 +1355,7 @@
 	aim_snacid_t snacid;
 	GSList *tlvlist = NULL;
 
-	if (!od || !(conn = flap_connection_findbygroup(od, SNAC_FAMILY_LOCATE)))
+	if (!(conn = flap_connection_findbygroup(od, SNAC_FAMILY_LOCATE)))
 		return -EINVAL;
 
 	aim_tlvlist_add_caps(&tlvlist, 0x0005, caps, mood);