engines/http.c: add fallthrough annotation to _curl_trace
authorRebecca Cran <rebecca@bsdio.com>
Sat, 16 Oct 2021 06:17:38 +0000 (00:17 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 16 Oct 2021 11:57:00 +0000 (05:57 -0600)
commitd853907223ca610c85a81cfe238ffd93b97520e7
treea56dcd45b05102f1a7bf56b0a6f59b270cd5896c
parent7d1ce4b752e67868b3c7eb9aa5972ceec51210aa
engines/http.c: add fallthrough annotation to _curl_trace

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@bsdio.com>
Link: https://lore.kernel.org/r/20211016061738.76654-1-rebecca@bsdio.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/http.c