aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-04 13:50:49 +0000
committerMatthias Andree <matthias.andree@gmx.de>2010-02-04 13:50:49 +0000
commit2d1a98bd4ac65f5696df8d59009375433b49b621 (patch)
treefd974fbf740b961cd5f11c59a5e823cb11a52b58
parent88b314909859b90a8b957e1c2975cb32e7e53375 (diff)
downloadfetchmail-2d1a98bd4ac65f5696df8d59009375433b49b621.tar.gz
fetchmail-2d1a98bd4ac65f5696df8d59009375433b49b621.tar.bz2
fetchmail-2d1a98bd4ac65f5696df8d59009375433b49b621.zip
Fix compiler warnings about unused parameters (Sunil Shetye).
svn path=/branches/BRANCH_6-3/; revision=5474
-rw-r--r--tls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tls.c b/tls.c
index 1ff2664f..c66a4f55 100644
--- a/tls.c
+++ b/tls.c
@@ -16,6 +16,7 @@ int maybe_tls(struct query *ctl) {
return (!ctl->sslproto || !strcasecmp(ctl->sslproto,"tls1"))
&& !ctl->use_ssl;
#else
+ (void)ctl;
return 0;
#endif
}
@@ -28,6 +29,7 @@ int must_tls(struct query *ctl) {
&& (ctl->sslfingerprint || ctl->sslcertck
|| (ctl->sslproto && !strcasecmp(ctl->sslproto, "tls1")));
#else
+ (void)ctl;
return 0;
#endif
}