forked from mirrors/kore
Variable ‘c’ was set but not used so remove it, broke the build with GCC 9.2.0.
This commit is contained in:
parent
6ba56bb8f6
commit
b24bc43051
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue