diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-05-24 11:56:38 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-05-24 11:56:38 +0200 |
commit | b4d87f54d60711e936fefae388d741b281eecdf0 (patch) | |
tree | 1993fa59599a6cbf553b49b171269cea5718fa32 /docs/examples/http2-serverpush.c | |
parent | df45f2c33e1c916d62d7f5e794c6015fc3b51c01 (diff) | |
download | curl-b4d87f54d60711e936fefae388d741b281eecdf0.tar.gz |
examples: fix Wimplicit-fallthrough warnings
This is contained in -Wextra with GCC 7.
Diffstat (limited to 'docs/examples/http2-serverpush.c')
-rw-r--r-- | docs/examples/http2-serverpush.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/examples/http2-serverpush.c b/docs/examples/http2-serverpush.c index 5aae6afdc..b497e76a9 100644 --- a/docs/examples/http2-serverpush.c +++ b/docs/examples/http2-serverpush.c @@ -96,6 +96,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; |