[Telepathy-commits] [telepathy-gabble/master] GabbleMucChannel: elide temporary variable, fixing --disable-debug

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Feb 27 05:58:15 PST 2009


This fixes distcheck.
---
 src/muc-channel.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/muc-channel.c b/src/muc-channel.c
index b41e5d2..f9be980 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -2759,11 +2759,9 @@ kick_request_reply_cb (GabbleConnection *conn, LmMessage *sent_msg,
                        LmMessage *reply_msg, GObject *object,
                        gpointer user_data)
 {
-  const gchar *jid = user_data;
-
   if (lm_message_get_sub_type (reply_msg) != LM_MESSAGE_SUB_TYPE_RESULT)
     {
-      DEBUG ("Failed to kick user %s from room", jid);
+      DEBUG ("Failed to kick user %s from room", (const char *) user_data);
     }
 
   return LM_HANDLER_RESULT_REMOVE_MESSAGE;
-- 
1.5.6.5




More information about the telepathy-commits mailing list