diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-02 12:42:49 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-02 12:42:49 +0000 |
commit | 8cef31af2aa08a23661ce230207ed768a693edef (patch) | |
tree | 6aa8420f4bd3db1fef6b43d5a37023ef7241e0e3 /src/libmime | |
parent | b00df4f1979888a6d3de48d4e586eb9e3aed21af (diff) | |
download | rspamd-8cef31af2aa08a23661ce230207ed768a693edef.tar.gz rspamd-8cef31af2aa08a23661ce230207ed768a693edef.zip |
Fix some compile time warnings.
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/expressions.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmime/expressions.c b/src/libmime/expressions.c index 0ff34e24b..be64e45da 100644 --- a/src/libmime/expressions.c +++ b/src/libmime/expressions.c @@ -1236,7 +1236,6 @@ rspamd_recipients_distance (struct rspamd_task *task, GList * args, { struct expression_argument *arg; InternetAddressList *cur; - InternetAddress *addr; double threshold; struct addr_list *ar; gchar *c; @@ -1272,7 +1271,6 @@ rspamd_recipients_distance (struct rspamd_task *task, GList * args, cur = task->rcpt_mime; #ifdef GMIME24 for (i = 0; i < num; i++) { - addr = internet_address_list_get_address (cur, i); InternetAddress *iaelt = internet_address_list_get_address(cur, i); InternetAddressMailbox *iamb = @@ -1286,6 +1284,7 @@ rspamd_recipients_distance (struct rspamd_task *task, GList * args, } } #else + InternetAddress *addr; i = 0; while (cur) { addr = internet_address_list_get_address (cur); |