mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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) {
|
switch(type) {
|
||||||
case CURLINFO_TEXT:
|
case CURLINFO_TEXT:
|
||||||
fprintf(stderr, "== Info: %s", (char *)data);
|
fprintf(stderr, "== Info: %s", (char *)data);
|
||||||
|
/* FALLTHROUGH */
|
||||||
default: /* in case a new one is introduced to shock us */
|
default: /* in case a new one is introduced to shock us */
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
@ -113,6 +113,7 @@ int libtest_debug_cb(CURL *handle, curl_infotype type,
|
|||||||
switch(type) {
|
switch(type) {
|
||||||
case CURLINFO_TEXT:
|
case CURLINFO_TEXT:
|
||||||
fprintf(stderr, "%s== Info: %s", timestr, (char *)data);
|
fprintf(stderr, "%s== Info: %s", timestr, (char *)data);
|
||||||
|
/* FALLTHROUGH */
|
||||||
default: /* in case a new one is introduced to shock us */
|
default: /* in case a new one is introduced to shock us */
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user