diff options
| author | Marcel Raad <raad@teamviewer.com> | 2017-06-03 20:12:23 +0200 | 
|---|---|---|
| committer | Marcel Raad <raad@teamviewer.com> | 2017-06-03 20:12:23 +0200 | 
| commit | 0932573e7cf83e3dd8037a318fa166b127e4d9a5 (patch) | |
| tree | 121c0cfa30029bac36bff9eefb8d15b84d080774 | |
| parent | 15136a526847ea4d9490e8e5744834df9f6701b2 (diff) | |
libtest: fix implicit-fallthrough warnings with GCC 7
| -rw-r--r-- | tests/libtest/lib552.c | 1 | ||||
| -rw-r--r-- | tests/libtest/testtrace.c | 1 | 
2 files changed, 2 insertions, 0 deletions
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;  | 
