From: Pierrick Bouvier Date: Thu, 19 Sep 2024 04:46:40 +0000 (-0700) Subject: tests/qtest: remove return after g_assert_not_reached() X-Git-Tag: v9.2.0-rc0~72^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98da252c3901cb2c52566284a2692fe262152fd3;p=thirdparty%2Fqemu.git tests/qtest: remove return 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-34-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth --- diff --git a/tests/qtest/acpi-utils.c b/tests/qtest/acpi-utils.c index 673fc975862..9dc24fbe5a0 100644 --- a/tests/qtest/acpi-utils.c +++ b/tests/qtest/acpi-utils.c @@ -156,5 +156,4 @@ uint64_t acpi_find_rsdp_address_uefi(QTestState *qts, uint64_t start, g_usleep(TEST_DELAY); } g_assert_not_reached(); - return 0; }