tests/qtest: remove break after g_assert_not_reached()
authorPierrick Bouvier <pierrick.bouvier@linaro.org>
Thu, 12 Sep 2024 07:39:08 +0000 (00:39 -0700)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Sep 2024 08:50:39 +0000 (10:50 +0200)
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 <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240912073921.453203-36-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/migration-helpers.c

index a43d180c80725a144a600e508694c6d4797eb69c..0025933883322a5f5f475e96e627e195b3376e1f 100644 (file)
@@ -76,7 +76,6 @@ static QDict *SocketAddress_to_qdict(SocketAddress *addr)
         break;
     default:
         g_assert_not_reached();
-        break;
     }
 
     return dict;