diff options
Diffstat (limited to 'src/supplemental/http/http_server.c')
| -rw-r--r-- | src/supplemental/http/http_server.c | 4 |
1 files changed, 1 insertions, 3 deletions
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); |
