pidgin: 67223798: Remove unnecessary check

markdoliner at pidgin.im markdoliner at pidgin.im
Mon Apr 16 02:55:41 EDT 2012


----------------------------------------------------------------------
Revision: 67223798164aa2d0902f206a7526a7d9e6c0771f
Parent:   cae87ac1fb0b7909fd9e6771a48b906d8fa523cc
Author:   markdoliner at pidgin.im
Date:     04/16/12 02:53:05
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/67223798164aa2d0902f206a7526a7d9e6c0771f

Changelog: 

Remove unnecessary check

Changes against parent cae87ac1fb0b7909fd9e6771a48b906d8fa523cc

  patched  libpurple/protocols/oscar/family_locate.c

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/family_locate.c	36b87580bf7800fd66b688e5240366449e669c30
+++ libpurple/protocols/oscar/family_locate.c	8d373b6e4a27bce6dade254b3bc02376431773e0
@@ -1355,7 +1355,7 @@ aim_locate_setcaps(OscarData *od, guint6
 	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);


More information about the Commits mailing list