From 3adf8af266204cb5554503007a784a6a784db64a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 25 Nov 2018 18:43:09 -0600 Subject: [PATCH] netutils/webserver/httpd.c: Eliminate some warnings found in build testing. --- netutils/webserver/httpd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netutils/webserver/httpd.c b/netutils/webserver/httpd.c index c1504a622..038f1c2c9 100644 --- a/netutils/webserver/httpd.c +++ b/netutils/webserver/httpd.c @@ -339,6 +339,7 @@ static int handle_script(struct httpd_state *pstate) pstate->ht_file.len, chunked_http_tx); DEBUGASSERT(status >= 0); + UNUSED(status); (void)httpd_close(&pstate->ht_file); } @@ -399,6 +400,7 @@ static int handle_script(struct httpd_state *pstate) pstate->ht_file.data, len, chunked_http_tx); DEBUGASSERT(status >= 0); + UNUSED(status); pstate->ht_file.data += len; pstate->ht_file.len -= len; @@ -410,6 +412,7 @@ static int handle_script(struct httpd_state *pstate) status = httpd_send_datachunk(pstate->ht_sockfd, 0, 0, chunked_http_tx); DEBUGASSERT(status >= 0); + UNUSED(status); #endif return OK;