[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 29/44] target/arm: remove break after g_assert_not_reached()
From: |
Thomas Huth |
Subject: |
[PULL 29/44] target/arm: remove break after g_assert_not_reached() |
Date: |
Wed, 25 Sep 2024 13:10:10 +0200 |
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
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 <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240919044641.386068-22-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
target/arm/hyp_gdbstub.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/target/arm/hyp_gdbstub.c b/target/arm/hyp_gdbstub.c
index f120d55caa..1e861263b3 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 */
--
2.46.0
- [PULL 19/44] hw/pci: replace assert(false) with g_assert_not_reached(), (continued)
- [PULL 19/44] hw/pci: replace assert(false) with g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 20/44] hw/ppc: replace assert(false) with g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 21/44] migration: replace assert(false) with g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 22/44] target/i386/kvm: replace assert(false) with g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 23/44] accel/tcg: remove break after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 24/44] block: remove break after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 25/44] hw/acpi: remove break after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 26/44] hw/net: remove break after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 27/44] hw/scsi: remove break after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 28/44] hw/tpm: remove break after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 29/44] target/arm: remove break after g_assert_not_reached(),
Thomas Huth <=
- [PULL 33/44] include/qemu: remove return after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 30/44] target/riscv: remove break after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 34/44] hw/hyperv: remove return after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 35/44] hw/net: remove return after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 37/44] hw/ppc: remove return after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 44/44] .gitlab-ci.d: Make separate collapsible log sections for build and test, Thomas Huth, 2024/09/25
- [PULL 40/44] qom: remove return after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 39/44] qobject: remove return after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 31/44] fpu: remove break after g_assert_not_reached(), Thomas Huth, 2024/09/25
- [PULL 36/44] hw/pci: remove return after g_assert_not_reached(), Thomas Huth, 2024/09/25