[empathy] Remove unused variables [-Werror=unused-but-set-variable]



commit 4c7ee0a436cea45e4351e857577ddf944d36b2f3
Author: Alban Crequy <alban crequy collabora co uk>
Date:   Wed Sep 14 15:40:44 2011 -0400

    Remove unused variables [-Werror=unused-but-set-variable]
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658650

 libempathy-gtk/empathy-contact-list-store.c |    2 --
 libempathy-gtk/empathy-individual-store.c   |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c
index 7568f69..80fc572 100644
--- a/libempathy-gtk/empathy-contact-list-store.c
+++ b/libempathy-gtk/empathy-contact-list-store.c
@@ -1717,12 +1717,10 @@ contact_list_store_find_contact (EmpathyContactListStore *store,
 				 EmpathyContact          *contact)
 {
 	EmpathyContactListStorePriv *priv = GET_PRIV (store);
-	GtkTreeModel              *model;
 	GQueue                    *row_refs_queue;
 	GList                     *i;
 	GList                     *iters_list = NULL;
 
-	model = GTK_TREE_MODEL (store);
 	row_refs_queue = g_hash_table_lookup (priv->empathy_contact_cache, contact);
 	if (!row_refs_queue)
 		return NULL;
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c
index f3fd451..a499bf1 100644
--- a/libempathy-gtk/empathy-individual-store.c
+++ b/libempathy-gtk/empathy-individual-store.c
@@ -311,12 +311,10 @@ individual_store_find_contact (EmpathyIndividualStore *self,
     FolksIndividual *individual)
 {
   EmpathyIndividualStorePriv *priv = GET_PRIV (self);
-  GtkTreeModel *model;
   GQueue *row_refs_queue;
   GList *i;
   GList *iters_list = NULL;
 
-  model = GTK_TREE_MODEL (self);
   row_refs_queue = g_hash_table_lookup (priv->folks_individual_cache,
       individual);
   if (!row_refs_queue)



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