summaryrefslogtreecommitdiff
path: root/docs/examples/http2-upload.c
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2017-05-24 11:56:38 +0200
committerng0 <ng0@infotropique.org>2017-08-22 15:26:23 +0000
commita7e3835b1a4452a5c184e8937302cb707b709846 (patch)
treef0a03f46635ebceeeecf0ab17e9c99277204c2c8 /docs/examples/http2-upload.c
parent31eb094edd57c907f955bac7dca12cb7e4f0c0ab (diff)
downloadgnurl-a7e3835b1a4452a5c184e8937302cb707b709846.tar.gz
gnurl-a7e3835b1a4452a5c184e8937302cb707b709846.tar.bz2
gnurl-a7e3835b1a4452a5c184e8937302cb707b709846.zip
examples: fix Wimplicit-fallthrough warnings
This is contained in -Wextra with GCC 7.
Diffstat (limited to 'docs/examples/http2-upload.c')
-rw-r--r--docs/examples/http2-upload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/examples/http2-upload.c b/docs/examples/http2-upload.c
index 01dfc0b3d..43809ab69 100644
--- a/docs/examples/http2-upload.c
+++ b/docs/examples/http2-upload.c
@@ -136,6 +136,7 @@ int my_trace(CURL *handle, curl_infotype type,
switch(type) {
case CURLINFO_TEXT:
fprintf(stderr, "%s [%d] Info: %s", timebuf, num, data);
+ /* FALLTHROUGH */
default: /* in case a new one is introduced to shock us */
return 0;