gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 217/254: libtest: fix implicit-fallthrough warnings


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 217/254: libtest: fix implicit-fallthrough warnings with GCC 7
Date: Sat, 17 Jun 2017 16:54:09 +0200

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

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit 0932573e7cf83e3dd8037a318fa166b127e4d9a5
Author: Marcel Raad <address@hidden>
AuthorDate: Sat Jun 3 20:12:23 2017 +0200

    libtest: fix implicit-fallthrough warnings with GCC 7
---
 tests/libtest/lib552.c    | 1 +
 tests/libtest/testtrace.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/libtest/lib552.c b/tests/libtest/lib552.c
index c1266c763..3a93dafaf 100644
--- a/tests/libtest/lib552.c
+++ b/tests/libtest/lib552.c
@@ -92,6 +92,7 @@ int my_trace(CURL *handle, curl_infotype type,
   switch(type) {
   case CURLINFO_TEXT:
     fprintf(stderr, "== Info: %s", (char *)data);
+    /* FALLTHROUGH */
   default: /* in case a new one is introduced to shock us */
     return 0;
 
diff --git a/tests/libtest/testtrace.c b/tests/libtest/testtrace.c
index 5eeeeb65d..62641e15c 100644
--- a/tests/libtest/testtrace.c
+++ b/tests/libtest/testtrace.c
@@ -113,6 +113,7 @@ int libtest_debug_cb(CURL *handle, curl_infotype type,
   switch(type) {
   case CURLINFO_TEXT:
     fprintf(stderr, "%s== Info: %s", timestr, (char *)data);
+    /* FALLTHROUGH */
   default: /* in case a new one is introduced to shock us */
     return 0;
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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