]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-mail: mail-html2text - Drop unused ignore_next_text
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 29 Oct 2019 11:44:08 +0000 (13:44 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 29 Oct 2019 12:22:37 +0000 (14:22 +0200)
src/lib-mail/mail-html2text.c

index df5bead6211306912f19b5cec6499ee501678e2d..0297269fd609da70b5566970e242fc60faca089a 100644 (file)
@@ -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;
                }