[empathy: 1/3] Don't set priv when it's not used



commit 8a43221ed3a42fb8949b7568a29723197f204364
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Sun May 29 08:02:42 2011 -0700

    Don't set priv when it's not used

 libempathy-gtk/empathy-chat.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 3fdb3bd..83944a4 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -390,10 +390,6 @@ chat_composing_start (EmpathyChat *chat)
 static void
 chat_composing_stop (EmpathyChat *chat)
 {
-	EmpathyChatPriv *priv;
-
-	priv = GET_PRIV (chat);
-
 	chat_composing_remove_timeout (chat);
 	set_chat_state (chat, TP_CHANNEL_CHAT_STATE_ACTIVE);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]