diff --git a/spa/include/spa/pod/parser.h b/spa/include/spa/pod/parser.h index 7bc701ef5..c6e33b113 100644 --- a/spa/include/spa/pod/parser.h +++ b/spa/include/spa/pod/parser.h @@ -232,7 +232,7 @@ static inline int spa_pod_parser_getv(struct spa_pod_parser *parser, return -EINVAL; if (--parser->depth < 0) return -EINVAL; - + /* fallthrough */ case '}': it = &parser->iter[parser->depth]; current = spa_pod_iter_current(it); diff --git a/spa/plugins/audioconvert/merger.c b/spa/plugins/audioconvert/merger.c index f72697c0d..4cdb5cb46 100644 --- a/spa/plugins/audioconvert/merger.c +++ b/spa/plugins/audioconvert/merger.c @@ -476,6 +476,7 @@ impl_node_port_enum_params(struct spa_node *node, SPA_PARAM_LIST_id, &SPA_POD_Id(list[*index]), 0); else return 0; + break; } case SPA_PARAM_EnumFormat: if ((res = port_enum_formats(node, direction, port_id, index, ¶m, &b)) <= 0) diff --git a/src/pipewire/link.c b/src/pipewire/link.c index ec43e0193..4bd93d2c6 100644 --- a/src/pipewire/link.c +++ b/src/pipewire/link.c @@ -225,10 +225,12 @@ static int do_negotiate(struct pw_link *this, uint32_t in_state, uint32_t out_st case -EIO: current = NULL; res = 0; + /* fallthrough */ case 1: break; case 0: res = -EBADF; + /* fallthrough */ default: asprintf(&error, "error get output format: %s", spa_strerror(res)); goto error; @@ -258,10 +260,12 @@ static int do_negotiate(struct pw_link *this, uint32_t in_state, uint32_t out_st case -EIO: current = NULL; res = 0; + /* fallthrough */ case 1: break; case 0: res = -EBADF; + /* fallthrough */ default: asprintf(&error, "error get input format: %s", spa_strerror(res)); goto error;