From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- lib/libc/sem/semctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/sem') diff --git a/lib/libc/sem/semctl.c b/lib/libc/sem/semctl.c index 7b047b62..3ac48b97 100644 --- a/lib/libc/sem/semctl.c +++ b/lib/libc/sem/semctl.c @@ -1,5 +1,3 @@ - - #include // for va_arg, va_end, va_list, va_start #include // for NULL #include // for IPC_SET, IPC_STAT @@ -20,6 +18,8 @@ int semctl(int semid, int semnum, int cmd, ...) va_start(ap, cmd); buf = va_arg(ap, struct semid_ds *); va_end(ap); + default: + break; } return syscall(semctl, semid, semnum, cmd, buf); -- cgit v1.2.3