changeset 25067:fa462a39cd47

f->p2p_packet_sent and f->p2p_status initialization in yahoo_friend_new() redundant
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Sat, 12 Jul 2008 18:28:22 +0000
parents 37b207e08c69
children 7bd420b3edb7
files libpurple/protocols/yahoo/yahoo_friend.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }