mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
libtest: fix implicit-fallthrough warnings with GCC 7
This commit is contained in:
parent
15136a5268
commit
0932573e7c
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user