aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/mime_headers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c
index e7b9c0c9b..e0cf42e0a 100644
--- a/src/libmime/mime_headers.c
+++ b/src/libmime/mime_headers.c
@@ -1127,7 +1127,6 @@ void rspamd_message_set_modified_header(struct rspamd_task *task,
*/
hdr_elt->flags |= RSPAMD_HEADER_MODIFIED;
hdr_elt->modified_chain = NULL;
- gint new_chain_length = 0;
PTR_ARRAY_FOREACH(existing_ar, i, cur_hdr)
{
@@ -1141,7 +1140,6 @@ void rspamd_message_set_modified_header(struct rspamd_task *task,
nhdr->ord_next = NULL;
DL_APPEND(hdr_elt->modified_chain, nhdr);
- new_chain_length++;
}
}