mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:21:41 +03:00
examples: fix Wimplicit-fallthrough warnings
This is contained in -Wextra with GCC 7.
This commit is contained in:
parent
df45f2c33e
commit
b4d87f54d6
5 changed files with 5 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ int my_trace(CURL *handle, curl_infotype type,
|
|||
switch(type) {
|
||||
case CURLINFO_TEXT:
|
||||
fprintf(stderr, "== Info: %s", data);
|
||||
/* FALLTHROUGH */
|
||||
default: /* in case a new one is introduced to shock us */
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue