# HG changeset patch # User Sulabh Mahajan # Date 1215887302 0 # Node ID fa462a39cd473b77f7f85a3362b51452d6b8ed61 # Parent 37b207e08c69b0cced1d2bb2134922547f35782e f->p2p_packet_sent and f->p2p_status initialization in yahoo_friend_new() redundant diff -r 37b207e08c69 -r fa462a39cd47 libpurple/protocols/yahoo/yahoo_friend.c --- a/libpurple/protocols/yahoo/yahoo_friend.c Fri Jul 11 19:03:59 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo_friend.c Sat Jul 12 18:28:22 2008 +0000 @@ -35,8 +35,6 @@ ret = g_new0(YahooFriend, 1); ret->status = YAHOO_STATUS_OFFLINE; ret->presence = YAHOO_PRESENCE_DEFAULT; - ret->p2p_packet_sent = 0; - ret->p2p_status = NOT_CONNECTED; return ret; }