]> git.0d.be Git - empathy.git/commitdiff
Remove unused variables [-Werror=unused-but-set-variable]
authorAlban Crequy <alban.crequy@collabora.co.uk>
Wed, 14 Sep 2011 19:40:44 +0000 (15:40 -0400)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 15 Sep 2011 07:49:37 +0000 (09:49 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=658650

libempathy-gtk/empathy-contact-list-store.c
libempathy-gtk/empathy-individual-store.c

index 7568f698cd6a615886ac81c82be91455a8807610..80fc572d290ece994218ca801efd86f20ec58a3c 100644 (file)
@@ -1717,12 +1717,10 @@ contact_list_store_find_contact (EmpathyContactListStore *store,
                                 EmpathyContact          *contact)
 {
        EmpathyContactListStorePriv *priv = GET_PRIV (store);
                                 EmpathyContact          *contact)
 {
        EmpathyContactListStorePriv *priv = GET_PRIV (store);
-       GtkTreeModel              *model;
        GQueue                    *row_refs_queue;
        GList                     *i;
        GList                     *iters_list = NULL;
 
        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;
        row_refs_queue = g_hash_table_lookup (priv->empathy_contact_cache, contact);
        if (!row_refs_queue)
                return NULL;
index f3fd45195e03c808c08f95a35ae40e1d50a00b9f..a499bf1cc2582b0012db06a60e48442f622b54ce 100644 (file)
@@ -311,12 +311,10 @@ individual_store_find_contact (EmpathyIndividualStore *self,
     FolksIndividual *individual)
 {
   EmpathyIndividualStorePriv *priv = GET_PRIV (self);
     FolksIndividual *individual)
 {
   EmpathyIndividualStorePriv *priv = GET_PRIV (self);
-  GtkTreeModel *model;
   GQueue *row_refs_queue;
   GList *i;
   GList *iters_list = NULL;
 
   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)
   row_refs_queue = g_hash_table_lookup (priv->folks_individual_cache,
       individual);
   if (!row_refs_queue)