aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-03 22:45:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-03 22:45:46 +0800
commitb8a932ae1e8b10344525ae2a5a78894e98ac2540 (patch)
tree7dddb8d73d31144a2b0ee88f9986c4d043e88219 /plugins
parentc3b983d6e12e218b6f908cf263e7e08570332d6a (diff)
downloadgsoc2013-evolution-b8a932ae1e8b10344525ae2a5a78894e98ac2540.tar.gz
gsoc2013-evolution-b8a932ae1e8b10344525ae2a5a78894e98ac2540.tar.zst
gsoc2013-evolution-b8a932ae1e8b10344525ae2a5a78894e98ac2540.zip
Fix compiler warnings.
Mostly dead assignments.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/itip-formatter/itip-formatter.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 96dadab0ea..d93f2f5384 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -2260,7 +2260,6 @@ in_proper_folder (CamelFolder *folder)
EMailBackend *backend;
EMailSession *session;
MailFolderCache *folder_cache;
- const gchar *folder_uri;
gboolean res = TRUE;
gint flags = 0;
@@ -2273,8 +2272,6 @@ in_proper_folder (CamelFolder *folder)
session = e_mail_backend_get_session (backend);
folder_cache = e_mail_session_get_folder_cache (session);
- folder_uri = camel_folder_get_uri (folder);
-
if (mail_folder_cache_get_folder_info_flags (folder_cache, folder, &flags)) {
/* it should be neither trash nor junk folder, */
res = ((flags & CAMEL_FOLDER_TYPE_TRASH) != CAMEL_FOLDER_TYPE_TRASH &&