changeset 24397:33697964e62b

There's no need for this variable anymore
author Mark Doliner <mark@kingant.net>
date Thu, 13 Nov 2008 07:57:33 +0000
parents 58fabce901e1
children b27908701f66
files libpurple/protocols/msn/slpcall.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpcall.c	Thu Nov 13 07:36:33 2008 +0000
+++ b/libpurple/protocols/msn/slpcall.c	Thu Nov 13 07:57:33 2008 +0000
@@ -81,7 +81,6 @@
 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 @@
 		}
 	}
 
-	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;