kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit b24bc430515d5e762bbb419190831e961dbc2e4f
parent 6ba56bb8f6a9a3fec0815c1536100b22e7e6d3cd
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 10 Feb 2020 15:37:32 +0100

Variable ā€˜cā€™ was set but not used so remove it, broke the build with GCC 9.2.0.

Diffstat:
src/module.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/module.c b/src/module.c @@ -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))