From 212c5748210a8443473d6b939ae561d912b20f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Wed, 31 May 2023 21:41:23 +0200 Subject: [PATCH] pipewire: module-ffado-driver: don't have labels at the end Labels are only allowed before statements before C23, and clang does not support them as an extension in gnu11 that pipewire uses, so add `break`s. --- src/modules/module-ffado-driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/module-ffado-driver.c b/src/modules/module-ffado-driver.c index 64fdbc2ac..61a811d4a 100644 --- a/src/modules/module-ffado-driver.c +++ b/src/modules/module-ffado-driver.c @@ -794,6 +794,7 @@ static int open_ffado_device(struct impl *impl) impl->source.info.channels++; break; default: + break; } } impl->sink.info.channels = 0; @@ -805,6 +806,7 @@ static int open_ffado_device(struct impl *impl) impl->sink.info.channels++; break; default: + break; } } if (ffado_streaming_prepare(impl->dev)) {