diff options
Diffstat (limited to 'src/supplemental/http')
| -rw-r--r-- | src/supplemental/http/http_conn.c | 2 | ||||
| -rw-r--r-- | src/supplemental/http/http_server.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/supplemental/http/http_conn.c b/src/supplemental/http/http_conn.c index 6a72a731..726f3ea3 100644 --- a/src/supplemental/http/http_conn.c +++ b/src/supplemental/http/http_conn.c @@ -401,8 +401,6 @@ http_wr_cb(void *arg) nni_aio * uaio; int rv; size_t n; - int niov; - nni_iov * iov; nni_mtx_lock(&conn->mtx); diff --git a/src/supplemental/http/http_server.c b/src/supplemental/http/http_server.c index 21a88f9e..4a426c8c 100644 --- a/src/supplemental/http/http_server.c +++ b/src/supplemental/http/http_server.c @@ -1116,8 +1116,7 @@ http_handle_file(nni_aio *aio) void * data; size_t size; int rv; - http_file * hf = nni_http_handler_get_data(h); - char * path = nni_http_handler_get_data(h); + http_file * hf = nni_http_handler_get_data(h); const char * ctype; if ((ctype = hf->ctype) == NULL) { @@ -1366,7 +1365,6 @@ nni_http_handler_init_directory( http_file * hf; nni_http_handler *h; int rv; - char * p; if ((hf = NNI_ALLOC_STRUCT(hf)) == NULL) { return (NNG_ENOMEM); |
