Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8884:ec8e679294d0 HEAD
Removed unneeded code.
Based on Coccinelle output from Diego Liziero.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 01 Apr 2009 15:39:20 -0400 |
parents | 5361cb6afe9e |
children | 5e513d6612e0 |
files | src/lib-storage/index/index-fetch.c src/plugins/imap-acl/imap-acl-plugin.c |
diffstat | 2 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/index-fetch.c Wed Apr 01 13:13:04 2009 -0400 +++ b/src/lib-storage/index/index-fetch.c Wed Apr 01 15:39:20 2009 -0400 @@ -46,7 +46,6 @@ #define EXPUNGE_MASK (MAIL_TRANSACTION_EXPUNGE | MAIL_TRANSACTION_EXTERNAL) struct index_mailbox *ibox = (struct index_mailbox *)box; struct mail_transaction_log_view *log_view; - const struct mail_index_header *hdr; const struct mail_transaction_header *thdr; const struct mail_transaction_expunge *rec, *end; const struct seq_range *uid_range; @@ -66,7 +65,6 @@ return TRUE; } - hdr = mail_index_get_header(ibox->view); log_view = mail_transaction_log_view_open(ibox->index->log); if (mail_transaction_log_view_set(log_view, log_seq, log_offset, ibox->view->log_file_head_seq,
--- a/src/plugins/imap-acl/imap-acl-plugin.c Wed Apr 01 13:13:04 2009 -0400 +++ b/src/plugins/imap-acl/imap-acl-plugin.c Wed Apr 01 15:39:20 2009 -0400 @@ -246,7 +246,6 @@ struct mailbox *box; const char *mailbox; string_t *str; - unsigned int len; int ret; if (!client_read_string_args(cmd, 1, &mailbox)) { @@ -261,7 +260,6 @@ str = t_str_new(128); str_append(str, "* ACL "); imap_quote_append_string(str, mailbox, FALSE); - len = str_len(str); storage = mailbox_get_storage(box); backend = acl_storage_get_backend(storage);