From 4fc0c6c6465191ef62c55d768bc9e3f59cc97a66 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Fri, 23 Sep 2016 12:13:19 -0600 Subject: [PATCH] fix unused parameter build time error fix unused parameter build time error --- src/tls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tls.c b/src/tls.c index ce26172c2..9a32e55a7 100644 --- a/src/tls.c +++ b/src/tls.c @@ -3229,6 +3229,8 @@ static int TLSX_SessionTicket_Parse(WOLFSSL* ssl, byte* input, word16 length, { int ret = 0; + (void) input; /* avoid unused parameter if NO_WOLFSSL_SERVER defined */ + if (!isRequest) { /* client side */ if (length != 0)