summaryrefslogtreecommitdiff
path: root/sunrpc/svc_unix.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-10-28 14:08:30 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-10-29 12:54:01 -0300
commit970364dac00b38333e5b2d91c90d11e80141d265 (patch)
treed377fe0f387866a60bdbbc4d2e54b10e45b438d4 /sunrpc/svc_unix.c
parent543ddd628f731ef2080c07f7abe3476b3fc86d11 (diff)
Annotate swtich fall-through
The clang default to warning for missing fall-through and it does not support all comment-like annotation that gcc does. Use C23 [[fallthrough]] annotation instead. proper attribute instead. Reviewed-by: Collin Funk <collin.funk1@gmail.com>
Diffstat (limited to 'sunrpc/svc_unix.c')
-rw-r--r--sunrpc/svc_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/svc_unix.c b/sunrpc/svc_unix.c
index c97880c012..c8559ea265 100644
--- a/sunrpc/svc_unix.c
+++ b/sunrpc/svc_unix.c
@@ -440,7 +440,7 @@ readunix (char *xprtptr, char *buf, int len)
case -1:
if (errno == EINTR)
continue;
- /*FALLTHROUGH*/
+ [[fallthrough]] ;
case 0:
goto fatal_err;
default: