gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 22/36: test_client_put_stop: muted compiler warnings


From: gnunet
Subject: [libmicrohttpd] 22/36: test_client_put_stop: muted compiler warnings
Date: Thu, 01 Jun 2023 12:30:27 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 6806dc46a00ce3a45a3a277fafbe106e706a994c
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 b25cf667..cda8f1d1 100644
--- a/src/microhttpd/test_client_put_stop.c
+++ b/src/microhttpd/test_client_put_stop.c
@@ -935,9 +935,9 @@ _MHD_dumbClient_needs_process (const struct _MHD_dumbClient 
*clnt)
   case DUMB_CLIENT_BODY_RECVEIVING:
   case DUMB_CLIENT_FINISHING:
   default:
-    return 0;
+    break;
   }
-  return 0; /* Should be unreachable */
+  return 0;
 }
 
 
@@ -1199,9 +1199,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]