From b4d87f54d60711e936fefae388d741b281eecdf0 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Wed, 24 May 2017 11:56:38 +0200 Subject: examples: fix Wimplicit-fallthrough warnings This is contained in -Wextra with GCC 7. --- docs/examples/http2-upload.c | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/examples/http2-upload.c') 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; -- cgit v1.2.3