[Telepathy-commits] [telepathy-gabble/master] muc_channel_receive: remove unused is_error flag

Will Thompson will.thompson at collabora.co.uk
Tue Feb 3 06:34:48 PST 2009


---
 src/muc-channel.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/muc-channel.c b/src/muc-channel.c
index 49f59a5..3f316fa 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -2225,7 +2225,6 @@ _gabble_muc_channel_receive (GabbleMucChannel *chan,
                              const gchar *text,
                              LmMessage *msg)
 {
-  gboolean is_error;
   TpMessage *message;
   GabbleMucChannelPrivate *priv;
 
@@ -2233,8 +2232,6 @@ _gabble_muc_channel_receive (GabbleMucChannel *chan,
 
   priv = GABBLE_MUC_CHANNEL_GET_PRIVATE (chan);
 
-  is_error = lm_message_get_sub_type (msg) == LM_MESSAGE_SUB_TYPE_ERROR;
-
   if (handle_type == TP_HANDLE_TYPE_ROOM)
     {
       NODE_DEBUG (msg->node, "ignoring message from channel");
-- 
1.5.6.5




More information about the telepathy-commits mailing list