From: Pierrick Bouvier Date: Thu, 19 Sep 2024 04:46:23 +0000 (-0700) Subject: block: remove break after g_assert_not_reached() X-Git-Tag: v9.2.0-rc0~72^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85deb1ffc273c4922854841316fa29362921f951;p=thirdparty%2Fqemu.git block: 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 Reviewed-by: Richard W.M. Jones Reviewed-by: Kevin Wolf Signed-off-by: Pierrick Bouvier Message-ID: <20240919044641.386068-17-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth --- diff --git a/block/ssh.c b/block/ssh.c index 27d582e0e3d..871e1d47534 100644 --- a/block/ssh.c +++ b/block/ssh.c @@ -474,7 +474,6 @@ static int check_host_key(BDRVSSHState *s, SshHostKeyCheck *hkc, Error **errp) errp); } g_assert_not_reached(); - break; case SSH_HOST_KEY_CHECK_MODE_KNOWN_HOSTS: return check_host_key_knownhosts(s, errp); default: