[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix c90 warning
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix c90 warning |
Date: |
Fri, 23 Mar 2018 22:52:35 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 62121567 fix c90 warning
62121567 is described below
commit 621215675e5eec4140cab62c86e1d379f7fda7bf
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 23 22:52:33 2018 +0100
fix c90 warning
---
src/microhttpd/connection.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 8c61a8ba..593a5b44 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -495,13 +495,14 @@ static int
socket_start_extra_buffering (struct MHD_Connection *connection)
{
int res = MHD_NO;
- (void)connection; /* Mute compiler warning. */
#if defined(TCP_CORK) || defined(TCP_NOPUSH)
const MHD_SCKT_OPT_BOOL_ on_val = 1;
#if defined(TCP_NODELAY)
const MHD_SCKT_OPT_BOOL_ off_val = 0;
#endif /* TCP_NODELAY */
- mhd_assert(NULL != connection);
+ (void) connection; /* mute compiler warning, assertion below
+ may be compiled out! */
+ mhd_assert(NULL != connection);
#if defined(TCP_NOPUSH) && !defined(TCP_CORK)
/* Buffer data before sending */
res = (0 == setsockopt (connection->socket_fd,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: fix c90 warning,
gnunet <=