From c7398b967e885e3f0e371ff197a53bc8f7b974db Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 3 May 2011 10:45:46 -0400 Subject: Fix compiler warnings. Mostly dead assignments. --- modules/mail/e-mail-shell-view-private.c | 4 ---- modules/mail/e-mail-shell-view.c | 3 --- 2 files changed, 7 deletions(-) (limited to 'modules/mail') diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c index c6a034bf40..2faecab695 100644 --- a/modules/mail/e-mail-shell-view-private.c +++ b/modules/mail/e-mail-shell-view-private.c @@ -952,7 +952,6 @@ e_mail_shell_view_create_filter_from_selected (EMailShellView *mail_shell_view, EMailView *mail_view; CamelFolder *folder; const gchar *filter_source; - const gchar *folder_uri; GPtrArray *uids; struct { @@ -974,7 +973,6 @@ e_mail_shell_view_create_filter_from_selected (EMailShellView *mail_shell_view, reader = E_MAIL_READER (mail_view); folder = e_mail_reader_get_folder (reader); - folder_uri = e_mail_reader_get_folder_uri (reader); uids = e_mail_reader_get_selected_uids (reader); if (em_utils_folder_is_sent (folder)) @@ -1089,7 +1087,6 @@ e_mail_shell_view_update_sidebar (EMailShellView *mail_shell_view) GString *buffer; const gchar *display_name; const gchar *folder_name; - const gchar *folder_uri; gchar *title; guint32 num_deleted; guint32 num_junked; @@ -1107,7 +1104,6 @@ e_mail_shell_view_update_sidebar (EMailShellView *mail_shell_view) reader = E_MAIL_READER (mail_view); folder = e_mail_reader_get_folder (reader); - folder_uri = e_mail_reader_get_folder_uri (reader); local_store = e_mail_local_get_store (); diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c index 1c1a86785e..ea707d0086 100644 --- a/modules/mail/e-mail-shell-view.c +++ b/modules/mail/e-mail-shell-view.c @@ -233,7 +233,6 @@ mail_shell_view_execute_search (EShellView *shell_view) GList *list, *iter; GSList *search_strings = NULL; const gchar *folder_uri; - const gchar *data_dir; const gchar *text; gboolean valid; gchar *query; @@ -267,8 +266,6 @@ mail_shell_view_execute_search (EShellView *shell_view) folder_uri = e_mail_reader_get_folder_uri (reader); message_list = e_mail_reader_get_message_list (reader); - data_dir = e_shell_backend_get_data_dir (shell_backend); - /* This returns a new object reference. */ model = e_shell_settings_get_object ( shell_settings, "mail-label-list-store"); -- cgit