# HG changeset patch # User Mark Doliner # Date 1249373769 0 # Node ID 90b471ba5282574b171f23ffba630107757bdf15 # Parent 44930be7114bcf06fe388108b0769f9e4688fe46 Something will have gone horribly wrong if data is NULL here, so don't bother checking for it. diff -r 44930be7114b -r 90b471ba5282 libpurple/protocols/yahoo/libymsg.c --- a/libpurple/protocols/yahoo/libymsg.c Tue Aug 04 08:14:41 2009 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Tue Aug 04 08:16:09 2009 +0000 @@ -2586,8 +2586,7 @@ PurpleAccount *account; YahooData *yd; - if(!(p2p_data = data)) - return ; + p2p_data = data; yd = p2p_data->gc->proto_data; if(error_message != NULL) {