gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 123/156: test_client_put_stop: muted compiler warnings


From: gnunet
Subject: [libmicrohttpd] 123/156: test_client_put_stop: muted compiler warnings
Date: Sun, 28 May 2023 17:52:56 +0200

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

karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.

commit f55531f3d39ceda2d33c1d24586a6fc6becd7e93
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri May 19 14:59:09 2023 +0300

    test_client_put_stop: muted compiler warnings
---
 src/microhttpd/test_client_put_stop.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/microhttpd/test_client_put_stop.c 
b/src/microhttpd/test_client_put_stop.c
index bb5d5b30..c0455cf3 100644
--- a/src/microhttpd/test_client_put_stop.c
+++ b/src/microhttpd/test_client_put_stop.c
@@ -852,9 +852,9 @@ _MHD_dumbClient_needs_process (const struct _MHD_dumbClient 
*clnt)
   case DUMB_CLIENT_BODY_RECVEIVED:
     return ! 0;
   default:
-    return 0;
+    break;
   }
-  return 0; /* Should be unreachable */
+  return 0;
 }
 
 
@@ -1108,9 +1108,9 @@ term_reason_str (enum MHD_RequestTerminationCode 
term_code)
   case -1:
     return "(not called)";
   default:
-    return "(unknown code)";
+    break;
   }
-  return "(problem)"; /* unreachable */
+  return "(unknown code)";
 }
 
 

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