aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/supplemental/http/http_server.c')
-rw-r--r--src/supplemental/http/http_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/supplemental/http/http_server.c b/src/supplemental/http/http_server.c
index 4c89708d..69774bd5 100644
--- a/src/supplemental/http/http_server.c
+++ b/src/supplemental/http/http_server.c
@@ -1494,6 +1494,8 @@ nni_http_server_set_tls(nni_http_server *s, nng_tls_config *tcfg)
}
return (0);
#else
+ NNI_ARG_UNUSED(s);
+ NNI_ARG_UNUSED(tcfg);
return (NNG_ENOTSUP);
#endif
}
@@ -1511,6 +1513,8 @@ nni_http_server_get_tls(nni_http_server *s, nng_tls_config **tp)
nni_mtx_unlock(&s->mtx);
return (0);
#else
+ NNI_ARG_UNUSED(s);
+ NNI_ARG_UNUSED(tp);
return (NNG_ENOTSUP);
#endif
}