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-download.c | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/examples/http2-download.c') diff --git a/docs/examples/http2-download.c b/docs/examples/http2-download.c index 8c0b0876e..8e28eaa73 100644 --- a/docs/examples/http2-download.c +++ b/docs/examples/http2-download.c @@ -117,6 +117,7 @@ int my_trace(CURL *handle, curl_infotype type, switch(type) { case CURLINFO_TEXT: fprintf(stderr, "== %d Info: %s", num, data); + /* FALLTHROUGH */ default: /* in case a new one is introduced to shock us */ return 0; -- cgit v1.2.3