From edd0c727a5f269611795d99a8793cca46dfdd833 Mon Sep 17 00:00:00 2001 From: Leonardo Alminana Date: Wed, 13 Mar 2024 18:25:25 +0100 Subject: [PATCH] in_http: removed unused code Signed-off-by: Leonardo Alminana --- plugins/in_http/http_prot.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/in_http/http_prot.c b/plugins/in_http/http_prot.c index 33a6ec2a445..3b7507a0415 100644 --- a/plugins/in_http/http_prot.c +++ b/plugins/in_http/http_prot.c @@ -1098,11 +1098,9 @@ int http_prot_handle_ng(struct flb_http_request *request, int ret; int len; flb_sds_t tag; - struct flb_http_server_session *session; struct flb_http *context; context = (struct flb_http *) response->stream->user_data; - FLB_HTTP_STREAM_GET_SESSION(request->stream, &session); if (request->path[0] != '/') { send_response_ng(response, 400, "error: invalid request\n");