From 333bfdf65e55bcf6e3b03526a50f8c43aa6d4ca5 Mon Sep 17 00:00:00 2001 From: Catena cyber <35799796+catenacyber@users.noreply.github.com> Date: Mon, 24 Sep 2018 14:21:30 +0200 Subject: [PATCH] Removes accessible assert (#1022) --- qemu/target-m68k/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qemu/target-m68k/translate.c b/qemu/target-m68k/translate.c index 6f0b0cc5..a7e4e237 100644 --- a/qemu/target-m68k/translate.c +++ b/qemu/target-m68k/translate.c @@ -664,7 +664,8 @@ static TCGv gen_ea(CPUM68KState *env, DisasContext *s, uint16_t insn, offset = read_im32(env, s); break; default: - g_assert_not_reached(); + // Should not happen : for OS_SIGNLE + return *(TCGv *)tcg_ctx->NULL_QREG; } return tcg_const_i32(tcg_ctx, offset); default: