Skip to content

Commit

Permalink
Merge pull request #1110 from r-barnes/patch-1
Browse files Browse the repository at this point in the history
Make fallthrough explicit for libworker.c
  • Loading branch information
wcawijngaards authored Jul 23, 2024
2 parents 3512eae + f9bd35d commit 89c9eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libunbound/libworker.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 89c9eaf

Please sign in to comment.