Variable ‘c’ was set but not used so remove it, broke the build with GCC 9.2.0.

This commit is contained in:
Frederic Cambus 2020-02-10 15:37:32 +01:00 committed by Joris Vink
parent 6ba56bb8f6
commit b24bc43051
1 changed files with 0 additions and 3 deletions

View File

@ -286,11 +286,8 @@ kore_module_handler_free(struct kore_module_handle *hdlr)
struct kore_module_handle *
kore_module_handler_find(struct http_request *req, struct kore_domain *dom)
{
struct connection *c;
struct kore_module_handle *hdlr;
c = req->owner;
TAILQ_FOREACH(hdlr, &(dom->handlers), list) {
if (hdlr->type == HANDLER_TYPE_STATIC) {
if (!strcmp(hdlr->path, req->path))