aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-11-24 15:30:01 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-11-24 15:30:01 +0000
commit372c476e2ae73ca50069d8616033e4702f498b31 (patch)
tree5678d81170b0805f5ab0906d0f64146757849898 /src/libmime
parent30faab04ebbd968910a33b52238df84b8be23776 (diff)
downloadrspamd-372c476e2ae73ca50069d8616033e4702f498b31.tar.gz
rspamd-372c476e2ae73ca50069d8616033e4702f498b31.zip
[Minor] Remove unused
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++;
}
}