To avoid the warning from clang "warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]" swap the "fall through" comment with the "fallthrough;" annotation from compiler.h. Since the second "fall through" comment isn't really a new fall-through, remove it. Signed-off-by: Rebecca Cran <rebecca@xxxxxxxxx> --- engines/http.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engines/http.c b/engines/http.c index 7a61b132b92b..35c44871da63 100644 --- a/engines/http.c +++ b/engines/http.c @@ -297,10 +297,9 @@ static int _curl_trace(CURL *handle, curl_infotype type, switch (type) { case CURLINFO_TEXT: fprintf(stderr, "== Info: %s", data); - /* fall through */ + fallthrough; default: case CURLINFO_SSL_DATA_OUT: - /* fall through */ case CURLINFO_SSL_DATA_IN: return 0; -- 2.31.1