pidgin: 27f67083: There's no need for this variable anymor...

markdoliner at pidgin.im markdoliner at pidgin.im
Thu Nov 13 03:38:29 EST 2008


-----------------------------------------------------------------
Revision: 27f670837b791c4dcff7c48de033b9260b4dc281
Ancestor: 00369ddd9466ac4625e42405995ce19084ff154e
Author: markdoliner at pidgin.im
Date: 2008-11-13T07:57:33
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/27f670837b791c4dcff7c48de033b9260b4dc281

Modified files:
        libpurple/protocols/msn/slpcall.c

ChangeLog: 

There's no need for this variable anymore

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slpcall.c	9ba2bce8316ea43e02d748e21febfa4108432cad
+++ libpurple/protocols/msn/slpcall.c	9f217b13a84711e5591964b2789d6b75f309b030
@@ -81,7 +81,6 @@ msn_slp_call_destroy(MsnSlpCall *slpcall
 msn_slp_call_destroy(MsnSlpCall *slpcall)
 {
 	GList *e;
-	MsnSession *session;
 
 #ifdef MSN_DEBUG_SLPCALL
 	purple_debug_info("msn", "slpcall_destroy: slpcall(%p)\n", slpcall);
@@ -108,10 +107,8 @@ msn_slp_call_destroy(MsnSlpCall *slpcall
 		}
 	}
 
-	session = slpcall->slplink->session;
-
 	if (slpcall->end_cb != NULL)
-		slpcall->end_cb(slpcall, session);
+		slpcall->end_cb(slpcall, slpcall->slplink->session);
 
 	if (slpcall->xfer != NULL) {
 		slpcall->xfer->data = NULL;


More information about the Commits mailing list