[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: Fixed compiler warnings.
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: Fixed compiler warnings. |
Date: |
Fri, 10 Apr 2020 16:10:08 +0200 |
This is an automated email from the git hooks/post-receive script.
silvioprog pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 100cf4ae Fixed compiler warnings.
100cf4ae is described below
commit 100cf4ae10eccfd691a706987a80e3ab97f6ed42
Author: silvioprog <address@hidden>
AuthorDate: Fri Apr 10 11:05:12 2020 -0300
Fixed compiler warnings.
---
src/microhttpd/mhd_send.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index cc75bbde..fd6297aa 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -50,6 +50,10 @@ pre_cork_setsockopt (struct MHD_Connection *connection,
{
#if HAVE_MSG_MORE
/* We use the MSG_MORE option for corking, no need for extra syscalls! */
+
+ (void) connection; /* Mute compiler warning. */
+ (void) want_cork; /* Mute compiler warning. */
+
#elif defined(MHD_TCP_CORK_NOPUSH)
int ret;
@@ -135,6 +139,10 @@ post_cork_setsockopt (struct MHD_Connection *connection,
{
#if HAVE_MSG_MORE
/* We use the MSG_MORE option for corking, no need for extra syscalls! */
+
+ (void) connection; /* Mute compiler warning. */
+ (void) want_cork; /* Mute compiler warning. */
+
#elif defined(MHD_TCP_CORK_NOPUSH)
int ret;
--
To stop receiving notification emails like this one, please contact
address@hidden.