gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 01/13: MHD_itc_clear_(): simplified eventfd version


From: gnunet
Subject: [libmicrohttpd] 01/13: MHD_itc_clear_(): simplified eventfd version
Date: Wed, 27 Apr 2022 21:25:09 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 8f444c321f95f3d4c20363f397c4bf3a91b09a1d
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Apr 27 13:51:33 2022 +0300

    MHD_itc_clear_(): simplified eventfd version
---
 src/microhttpd/mhd_itc.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/microhttpd/mhd_itc.h b/src/microhttpd/mhd_itc.h
index 27b36392..ad0d14e7 100644
--- a/src/microhttpd/mhd_itc.h
+++ b/src/microhttpd/mhd_itc.h
@@ -107,10 +107,10 @@ static const uint64_t _MHD_itc_wr_data = 1;
  * Clear signaled state on @a itc
  * @param itc the itc to clear
  */
-#define MHD_itc_clear_(itc)                  \
-  do { uint64_t __b; int __r;                \
-       __r = read ((itc).fd, &__b, sizeof(__b)); \
-       (void) __r; } while (0)
+#define MHD_itc_clear_(itc)                       \
+  do { uint64_t __b;                              \
+       (void) read ((itc).fd, &__b, sizeof(__b)); \
+     } while (0)
 
 /**
  * Destroy previously initialised ITC.  Note that close()

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]