diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2011-03-17 02:51:15 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-17 19:54:34 +0800 |
commit | 88e09c99733982de201c3c1cfbf4742a0e8662b1 (patch) | |
tree | de0f99c45903453a776091f69be212125c4f6688 /libempathy-gtk/empathy-contact-list-view.c | |
parent | 95a0ab7d884a6500cfba6ff63fea73269faec0da (diff) | |
download | gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.gz gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.bz2 gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.lz gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.xz gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.zst gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.zip |
Fix warnings from GCC 4.6 about variables that are set but not used.
Diffstat (limited to 'libempathy-gtk/empathy-contact-list-view.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-list-view.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index 608611a02..0b7cabd91 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -396,7 +396,6 @@ contact_list_view_contact_drag_received (GtkWidget *view, const gchar *contact_id = NULL; gchar *new_group = NULL; gchar *old_group = NULL; - gboolean success = TRUE; gboolean new_group_is_fake, old_group_is_fake = TRUE; priv = GET_PRIV (view); @@ -440,7 +439,6 @@ contact_list_view_contact_drag_received (GtkWidget *view, if (!connection) { DEBUG ("Failed to get connection for account '%s'", account_id); - success = FALSE; g_free (new_group); g_free (old_group); g_object_unref (account_manager); @@ -1886,7 +1884,6 @@ empathy_contact_list_view_new (EmpathyContactListStore *store, EmpathyContact * empathy_contact_list_view_dup_selected (EmpathyContactListView *view) { - EmpathyContactListViewPriv *priv; GtkTreeSelection *selection; GtkTreeIter iter; GtkTreeModel *model; @@ -1894,8 +1891,6 @@ empathy_contact_list_view_dup_selected (EmpathyContactListView *view) g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST_VIEW (view), NULL); - priv = GET_PRIV (view); - selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view)); if (!gtk_tree_selection_get_selected (selection, &model, &iter)) { return NULL; @@ -1911,7 +1906,6 @@ empathy_contact_list_view_dup_selected (EmpathyContactListView *view) EmpathyContactListFlags empathy_contact_list_view_get_flags (EmpathyContactListView *view) { - EmpathyContactListViewPriv *priv; GtkTreeSelection *selection; GtkTreeIter iter; GtkTreeModel *model; @@ -1919,8 +1913,6 @@ empathy_contact_list_view_get_flags (EmpathyContactListView *view) g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST_VIEW (view), 0); - priv = GET_PRIV (view); - selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view)); if (!gtk_tree_selection_get_selected (selection, &model, &iter)) { return 0; @@ -1937,7 +1929,6 @@ gchar * empathy_contact_list_view_get_selected_group (EmpathyContactListView *view, gboolean *is_fake_group) { - EmpathyContactListViewPriv *priv; GtkTreeSelection *selection; GtkTreeIter iter; GtkTreeModel *model; @@ -1947,8 +1938,6 @@ empathy_contact_list_view_get_selected_group (EmpathyContactListView *view, g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST_VIEW (view), NULL); - priv = GET_PRIV (view); - selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view)); if (!gtk_tree_selection_get_selected (selection, &model, &iter)) { return NULL; |