[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
- [GNUnet-SVN] [gnurl] 191/254: opts: more than 100 more examples for man pages..., (continued)
- [GNUnet-SVN] [gnurl] 191/254: opts: more than 100 more examples for man pages..., gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 215/254: curl_sasl: fix unused-variable warning, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 207/254: test1538: verify the libcurl strerror API calls, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 184/254: opts: more examples added to man pages, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 229/254: test1121: use stricter types to work with typcheck-gcc, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 177/254: tests: removed some redundant empty <stdout> sections, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 182/254: CURLOPT_PROXY.3: describe the environment variables more, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 241/254: setopt: check CURLOPT_ADDRESS_SCOPE option range, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 176/254: runtests.pl: removed <precommand> feature, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 199/254: curl-compilers.m4: escape square brackets in regex, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 217/254: libtest: fix implicit-fallthrough warnings with GCC 7,
gnunet <=
- [GNUnet-SVN] [gnurl] 188/254: example/externalsocket.c: make it use CLOSESOCKETFUNCTION too, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 250/254: url: fix buffer overwrite with file protocol (CVE-2017-9502), gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 240/254: cmake: Fix inconsistency regarding mbed TLS include directory, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 224/254: curl_ntlm_core: use Curl_raw_toupper instead of toupper, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 233/254: travis: let some builds *not* use --enable-debug, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 227/254: test1521: test *all* curl_easy_setopt options, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 254/254: Patchset for gnURL microfork: * Patches to rename libcurl to libgnurl by Christian * Updated for latest curl using git cherry-pick by Jeff, Florian, ng0 * Patches to fix the testsuite (deleted tests/data/test1139, renamed reference from libcurl.* to libgnurl.*) by ng0 * Added guix-gnurl.scm which can be used to build this with guix prior to installing it. (author: ng0) * Further adjustments by ng0, gnunet, 2017/06/17