[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 05/05: connection.c: cosmetics
From: |
gnunet |
Subject: |
[libmicrohttpd] 05/05: connection.c: cosmetics |
Date: |
Wed, 11 Aug 2021 21:37:07 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit e9fbb331585488199fb3ed049f48acda672dc6aa
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Aug 11 22:33:20 2021 +0300
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;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.