]> diplodocus.org Git - nmh/commitdiff
State netsec_set_tls()'s noverify is unused if no TLS.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 2 Nov 2016 12:08:04 +0000 (12:08 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 2 Nov 2016 12:08:04 +0000 (12:08 +0000)
Stops compiler warning.

sbr/netsec.c

index 79fd6a0..b8806a1 100644 (file)
@@ -1583,6 +1583,7 @@ netsec_set_tls(netsec_context *nsc, int tls, int noverify, char **errstr)
 
 #else /* TLS_SUPPORT */
     NMH_UNUSED(nsc);
+    NMH_UNUSED(noverify);
 
     if (tls) {
        netsec_err(errstr, "TLS is not supported");