]> diplodocus.org Git - nmh/commitdiff
sbr/netsec.c: Add NMH_UNUSED(nsc) twice for if !TLS_SUPPORT.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 24 Oct 2016 18:11:07 +0000 (19:11 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 24 Oct 2016 18:11:07 +0000 (19:11 +0100)
sbr/netsec.c

index 7972d1f..43d6367 100644 (file)
@@ -1530,6 +1530,8 @@ netsec_set_tls(netsec_context *nsc, int tls, char **errstr)
     nsc->ssl_io = NULL;
 
 #else /* TLS_SUPPORT */
+    NMH_UNUSED(nsc);
+
     if (tls) {
        netsec_err(errstr, "TLS is not supported");
        return NOTOK;
@@ -1576,6 +1578,7 @@ netsec_negotiate_tls(netsec_context *nsc, char **errstr)
 
     return OK;
 #else /* TLS_SUPPORT */
+    NMH_UNUSED(nsc);
     netsec_err(errstr, "TLS not supported");
 
     return NOTOK;