Merge pull request #1110 from r-barnes/patch-1

Make fallthrough explicit for libworker.c
This commit is contained in:
Wouter Wijngaards 2024-07-23 09:44:28 +02:00 committed by GitHub
commit 89c9eafa44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -292,7 +292,7 @@ libworker_do_cmd(struct libworker* w, uint8_t* msg, uint32_t len)
log_err("unknown command for bg worker %d",
(int)context_serial_getcmd(msg, len));
/* and fall through to quit */
/* fallthrough */
__attribute__((fallthrough));
case UB_LIBCMD_QUIT:
free(msg);
comm_base_exit(w->base);