gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd2] 05/12: perf_replies: muted compiler warning


From: Admin
Subject: [libmicrohttpd2] 05/12: perf_replies: muted compiler warning
Date: Fri, 06 Jun 2025 16:01:13 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd2.

commit 827e1786d20879f49d75bc8f19d2f9c4df653bce
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
AuthorDate: Wed Jun 4 02:23:57 2025 +0200

    perf_replies: muted compiler warning
---
 src/tools/perf_replies.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/tools/perf_replies.c b/src/tools/perf_replies.c
index 2bcbb2a..6c713b3 100644
--- a/src/tools/perf_replies.c
+++ b/src/tools/perf_replies.c
@@ -1878,7 +1878,9 @@ run_mhd (void)
   if (1)
   {
     char buf[10];
-    (void) fgets (buf, sizeof(buf), stdin);
+    const char *get_ret;
+    get_ret = fgets (buf, sizeof(buf), stdin);
+    (void) get_ret; /* Mute compiler warning */
   }
   MHD_daemon_destroy (d);
   return 0;

-- 
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]