From: Timo Sirainen Date: Mon, 21 Jun 2010 20:48:06 +0000 (+0100) Subject: doveadm fetch: Removed some unnecessary code. X-Git-Tag: 2.0.rc1~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50859db1fd7dd99d94091a05550090ac3a7b3db7;p=thirdparty%2Fdovecot%2Fcore.git doveadm fetch: Removed some unnecessary code. --HG-- branch : HEAD --- diff --git a/src/doveadm/doveadm-mail-fetch.c b/src/doveadm/doveadm-mail-fetch.c index 52d15a1ee3..3ac21c240e 100644 --- a/src/doveadm/doveadm-mail-fetch.c +++ b/src/doveadm/doveadm-mail-fetch.c @@ -30,8 +30,6 @@ struct fetch_cmd_context { enum mail_fetch_field wanted_fields; const struct fetch_field *cur_field; - - bool print_field_prefix; }; struct fetch_field { @@ -368,8 +366,6 @@ static void parse_fetch_fields(struct fetch_cmd_context *ctx, const char *str) } } (void)array_append_space(&ctx->header_fields); - - ctx->print_field_prefix = array_count(&ctx->fields) > 1; } static void cmd_fetch_mail(struct fetch_cmd_context *ctx)