From: Aki Tuomi Date: Tue, 29 Oct 2019 11:44:08 +0000 (+0200) Subject: lib-mail: mail-html2text - Drop unused ignore_next_text X-Git-Tag: 2.3.9~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaa7d8a08629035ff6a91cd8ebf6261f7f1f92b9;p=thirdparty%2Fdovecot%2Fcore.git lib-mail: mail-html2text - Drop unused ignore_next_text --- diff --git a/src/lib-mail/mail-html2text.c b/src/lib-mail/mail-html2text.c index df5bead621..0297269fd6 100644 --- a/src/lib-mail/mail-html2text.c +++ b/src/lib-mail/mail-html2text.c @@ -41,7 +41,6 @@ struct mail_html2text { enum html_state state; buffer_t *input; unsigned int quote_level; - bool ignore_next_text; }; static struct { @@ -95,8 +94,7 @@ parse_tag_name(struct mail_html2text *ht, return 1; } else if (ht->quote_level > 0 && size >= 12 && i_memcasecmp(data, "/blockquote>", 12) == 0) { - if (--ht->quote_level == 0) - ht->ignore_next_text = FALSE; + ht->quote_level--; ht->state = HTML_STATE_TAG; return 1; }