commit 8f2d531: [Minor] Remove unused var
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Oct 26 18:14:06 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-10-26 17:49:46 +0000
URL: https://github.com/rspamd/rspamd/commit/8f2d53169537f08faffa9a9d8a374ed5413eaa0b
[Minor] Remove unused var
---
src/libmime/mime_expressions.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/libmime/mime_expressions.c b/src/libmime/mime_expressions.c
index a06baffaf..aac9e518b 100644
--- a/src/libmime/mime_expressions.c
+++ b/src/libmime/mime_expressions.c
@@ -1456,7 +1456,6 @@ rspamd_has_only_html_part (struct rspamd_task * task, GArray * args,
{
struct rspamd_mime_text_part *p;
guint i, cnt_html = 0, cnt_txt = 0;
- gboolean res = FALSE;
PTR_ARRAY_FOREACH (MESSAGE_FIELD (task, text_parts), i, p) {
p = g_ptr_array_index (MESSAGE_FIELD (task, text_parts), 0);
More information about the Commits
mailing list