[telepathy-gabble/master] Remove unused 'presence' variable

Will Thompson will.thompson at collabora.co.uk
Wed Jul 29 15:56:29 PDT 2009


This was left behind when the code to emit closed and send <gone/> was
refactored into emit_closed_and_send_gone ().
---
 src/im-channel.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/im-channel.c b/src/im-channel.c
index b004bfe..57861d8 100644
--- a/src/im-channel.c
+++ b/src/im-channel.c
@@ -654,7 +654,6 @@ gabble_im_channel_close (TpSvcChannel *iface,
 {
   GabbleIMChannel *self = GABBLE_IM_CHANNEL (iface);
   GabbleIMChannelPrivate *priv;
-  GabblePresence *presence;
 
   g_assert (GABBLE_IS_IM_CHANNEL (self));
 
@@ -662,9 +661,6 @@ gabble_im_channel_close (TpSvcChannel *iface,
 
   priv = self->priv;
 
-  presence = gabble_presence_cache_get (priv->conn->presence_cache,
-      priv->handle);
-
   if (priv->closed)
     {
       DEBUG ("Already closed, doing nothing");
-- 
1.5.6.5




More information about the telepathy-commits mailing list