From: Pierrick Bouvier Date: Thu, 19 Sep 2024 04:46:28 +0000 (-0700) Subject: target/arm: remove break after g_assert_not_reached() X-Git-Tag: v9.2.0-rc0~72^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=200e25b140032bd09ee3d3f18b24f2974d3b702d;p=thirdparty%2Fqemu.git target/arm: 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-22-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth --- diff --git a/target/arm/hyp_gdbstub.c b/target/arm/hyp_gdbstub.c index f120d55caab..1e861263b3d 100644 --- a/target/arm/hyp_gdbstub.c +++ b/target/arm/hyp_gdbstub.c @@ -158,7 +158,6 @@ int insert_hw_watchpoint(target_ulong addr, target_ulong len, int type) break; default: g_assert_not_reached(); - break; } if (len <= 8) { /* we align the address and set the bits in BAS */