[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 3/4] target/s390x: fix build warning (gcc-12 -fsanitize=thread
From: |
Pierrick Bouvier |
Subject: |
[PATCH v2 3/4] target/s390x: fix build warning (gcc-12 -fsanitize=thread) |
Date: |
Wed, 14 Aug 2024 15:41:31 -0700 |
Found on debian stable.
../target/s390x/tcg/translate.c: In function ‘get_mem_index’:
../target/s390x/tcg/translate.c:398:1: error: control reaches end of non-void
function [-Werror=return-type]
398 | }
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
target/s390x/tcg/translate.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index c81e035dea4..bcfff40b255 100644
--- a/target/s390x/tcg/translate.c
+++ b/target/s390x/tcg/translate.c
@@ -392,7 +392,6 @@ static int get_mem_index(DisasContext *s)
return MMU_HOME_IDX;
default:
g_assert_not_reached();
- break;
}
#endif
}
--
2.39.2
- Re: [PATCH v2 1/4] meson: hide tsan related warnings, (continued)
- Re: [PATCH v2 1/4] meson: hide tsan related warnings, Pierrick Bouvier, 2024/08/15
- Re: [PATCH v2 1/4] meson: hide tsan related warnings, Peter Maydell, 2024/08/15
- Re: [PATCH v2 1/4] meson: hide tsan related warnings, Pierrick Bouvier, 2024/08/15
- Re: [PATCH v2 1/4] meson: hide tsan related warnings, Thomas Huth, 2024/08/16
- Re: [PATCH v2 1/4] meson: hide tsan related warnings, Daniel P . Berrangé, 2024/08/16
[PATCH v2 4/4] docs/devel: update tsan build documentation, Pierrick Bouvier, 2024/08/14
[PATCH v2 2/4] target/i386: fix build warning (gcc-12 -fsanitize=thread), Pierrick Bouvier, 2024/08/14
[PATCH v2 3/4] target/s390x: fix build warning (gcc-12 -fsanitize=thread),
Pierrick Bouvier <=