From: Pierrick Bouvier Date: Thu, 12 Sep 2024 07:39:08 +0000 (-0700) Subject: tests/qtest: remove break after g_assert_not_reached() X-Git-Tag: v9.2.0-rc0~82^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70dc9c8ab51c29ddeaaffce715776b4242fe15d3;p=thirdparty%2Fqemu.git tests/qtest: remove break 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: <20240912073921.453203-36-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth --- diff --git a/tests/qtest/migration-helpers.c b/tests/qtest/migration-helpers.c index a43d180c807..00259338833 100644 --- a/tests/qtest/migration-helpers.c +++ b/tests/qtest/migration-helpers.c @@ -76,7 +76,6 @@ static QDict *SocketAddress_to_qdict(SocketAddress *addr) break; default: g_assert_not_reached(); - break; } return dict;