From e9fbb331585488199fb3ed049f48acda672dc6aa Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Wed, 11 Aug 2021 22:33:20 +0300 Subject: [PATCH] connection.c: cosmetics --- src/microhttpd/connection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 6d2a058b..f9852a06 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -1389,7 +1389,9 @@ connection_shrink_read_buffer (struct MHD_Connection *connection) new_buf = MHD_pool_reallocate (c->pool, c->read_buffer, c->read_buffer_size, c->read_buffer_offset); mhd_assert (c->read_buffer == new_buf); +#ifdef NDEBUG (void) new_buf; /* squash compiler warning */ +#endif /* NDEBUG */ c->read_buffer_size = c->read_buffer_offset; if (0 == c->read_buffer_size) c->read_buffer = NULL;