From 4c7ee0a436cea45e4351e857577ddf944d36b2f3 Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Wed, 14 Sep 2011 15:40:44 -0400 Subject: 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, 4 deletions(-) diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c index 7568f698c..80fc572d2 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 f3fd45195..a499bf1cc 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) -- cgit v1.2.3