From 169df3b3a8e88449cc939650868e9e219dd611cb Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 5 Oct 2023 11:24:54 +0200 Subject: [PATCH] CLEAN: mux-h1: Remove useless __maybe_unused attribute on h1_make_chunk() This attribute was added during the dev stage. But it is useless now the function is used. So, just remove it. --- src/mux_h1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mux_h1.c b/src/mux_h1.c index d098c1b29..500d4c0aa 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -3000,7 +3000,7 @@ static size_t h1_make_trailers(struct h1s *h1s, struct h1m *h1m, struct htx *htx /* Try to send the header for a chunk of bytes. It returns the number of * bytes consumed or zero if nothing was done or if an error occurred.. */ -static __maybe_unused size_t h1_make_chunk(struct h1s *h1s, struct h1m * h1m, size_t len) +static size_t h1_make_chunk(struct h1s *h1s, struct h1m * h1m, size_t len) { struct h1c *h1c = h1s->h1c; struct buffer outbuf; -- 2.47.3