talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit b6c190706dcad2d2a1706b9ce2f4b1a8bf699bca
parent 459e3e6a24fd3c6eeaec2531f80ec8910f2c196d
Author: Ricardo Mones <ricardo@mones.org>
Date:   Thu, 24 Jul 2025 19:58:50 +0200

Remove another couple of unused variable warnings

libspamc.c:1308:23: warning: unused variable 'meth' [-Wunused-variable]
libspamc.c:2059:35: warning: unused variable 'addrp' [-Wunused-variable]

Diffstat:
Msrc/plugins/spamassassin/libspamc.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/plugins/spamassassin/libspamc.c b/src/plugins/spamassassin/libspamc.c @@ -1306,7 +1306,6 @@ int message_filter(struct transport *tp, const char *username, unsigned int throwaway; SSL_CTX *ctx = NULL; SSL *ssl = NULL; - const SSL_METHOD *meth; char zlib_on = 0; unsigned char *zlib_buf = NULL; int zlib_bufsiz = 0; @@ -2057,7 +2056,7 @@ static void _randomize_hosts(struct transport *tp) int transport_setup(struct transport *tp, int flags) { #ifdef SPAMC_HAS_ADDRINFO - struct addrinfo hints, *res, *addrp; + struct addrinfo hints, *res; /*, *addrp; */ char port[6]; int origerr; #else