From 2d1a98bd4ac65f5696df8d59009375433b49b621 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 4 Feb 2010 13:50:49 +0000 Subject: Fix compiler warnings about unused parameters (Sunil Shetye). svn path=/branches/BRANCH_6-3/; revision=5474 --- tls.c | 2 ++ 1 file changed, 2 insertions(+) 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 } -- cgit v1.2.3