dovecot-1.2: Removed unneeded code.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Apr 1 22:39:25 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/ec8e679294d0
changeset: 8884:ec8e679294d0
user: Timo Sirainen <tss at iki.fi>
date: Wed Apr 01 15:39:20 2009 -0400
description:
Removed unneeded code.
Based on Coccinelle output from Diego Liziero.
diffstat:
2 files changed, 4 deletions(-)
src/lib-storage/index/index-fetch.c | 2 --
src/plugins/imap-acl/imap-acl-plugin.c | 2 --
diffs (38 lines):
diff -r 5361cb6afe9e -r ec8e679294d0 src/lib-storage/index/index-fetch.c
--- 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 @@ bool index_storage_get_expunged_uids(str
#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 @@ bool index_storage_get_expunged_uids(str
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,
diff -r 5361cb6afe9e -r ec8e679294d0 src/plugins/imap-acl/imap-acl-plugin.c
--- 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 @@ static bool cmd_getacl(struct client_com
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 @@ static bool cmd_getacl(struct client_com
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);
More information about the dovecot-cvs
mailing list