From: Pierrick Bouvier Date: Thu, 19 Sep 2024 04:46:24 +0000 (-0700) Subject: hw/acpi: remove break after g_assert_not_reached() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=60053abdcc1deff15055d5507625979f8dbbd67c;p=qemu.git hw/acpi: remove break after g_assert_not_reached() This patch is part of a series that moves towards a consistent use of g_assert_not_reached() rather than an ad hoc mix of different assertion mechanisms. Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Message-ID: <20240919044641.386068-18-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth --- diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index 006c506a37..34e0ddbde8 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -535,7 +535,6 @@ void aml_append(Aml *parent_ctx, Aml *child) break; default: g_assert_not_reached(); - break; } build_append_array(parent_ctx->buf, buf); build_free_array(buf);