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/multi-debugcallback.c | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/examples/multi-debugcallback.c') diff --git a/docs/examples/multi-debugcallback.c b/docs/examples/multi-debugcallback.c index be241fc72..07f044b4e 100644 --- a/docs/examples/multi-debugcallback.c +++ b/docs/examples/multi-debugcallback.c @@ -99,6 +99,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; -- cgit v1.2.3