changeset 27823:90b471ba5282

Something will have gone horribly wrong if data is NULL here, so don't bother checking for it.
author Mark Doliner <mark@kingant.net>
date Tue, 04 Aug 2009 08:16:09 +0000
parents 44930be7114b
children 5eca0f387c13
files libpurple/protocols/yahoo/libymsg.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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) {