[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 34/39] target/riscv: remove break after g_assert_not_reached()
From: |
Pierrick Bouvier |
Subject: |
[PATCH 34/39] target/riscv: remove break after g_assert_not_reached() |
Date: |
Tue, 10 Sep 2024 15:16:01 -0700 |
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
target/riscv/monitor.c | 1 -
target/riscv/insn_trans/trans_rvv.c.inc | 2 --
2 files changed, 3 deletions(-)
diff --git a/target/riscv/monitor.c b/target/riscv/monitor.c
index f5b1ffe6c3e..100005ea4e9 100644
--- a/target/riscv/monitor.c
+++ b/target/riscv/monitor.c
@@ -184,7 +184,6 @@ static void mem_info_svxx(Monitor *mon, CPUArchState *env)
break;
default:
g_assert_not_reached();
- break;
}
/* calculate virtual address bits */
diff --git a/target/riscv/insn_trans/trans_rvv.c.inc
b/target/riscv/insn_trans/trans_rvv.c.inc
index 3a3896ba06c..f8928c44a8b 100644
--- a/target/riscv/insn_trans/trans_rvv.c.inc
+++ b/target/riscv/insn_trans/trans_rvv.c.inc
@@ -3172,7 +3172,6 @@ static void load_element(TCGv_i64 dest, TCGv_ptr base,
break;
default:
g_assert_not_reached();
- break;
}
}
@@ -3257,7 +3256,6 @@ static void store_element(TCGv_i64 val, TCGv_ptr base,
break;
default:
g_assert_not_reached();
- break;
}
}
--
2.39.2
- Re: [PATCH 25/39] block: remove break after g_assert_not_reached(), (continued)
- [PATCH 28/39] hw/misc: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 30/39] hw/pci-host: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 29/39] hw/net: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 31/39] hw/scsi: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 32/39] hw/tpm: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 34/39] target/riscv: remove break after g_assert_not_reached(),
Pierrick Bouvier <=
- [PATCH 33/39] target/arm: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 36/39] ui: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 37/39] fpu: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 38/39] tcg/loongarch64: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 35/39] tests/qtest: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 39/39] scripts/checkpatch.pl: emit error when using assert(false), Pierrick Bouvier, 2024/09/10
- Re: [PATCH 00/39] Use g_assert_not_reached instead of (g_)assert(0,false), Philippe Mathieu-Daudé, 2024/09/11