[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/17] tests/qtest: remove break after g_assert_not_reached()
From: |
Thomas Huth |
Subject: |
[PULL 12/17] tests/qtest: remove break after g_assert_not_reached() |
Date: |
Tue, 17 Sep 2024 12:35:35 +0200 |
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
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 | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/qtest/migration-helpers.c b/tests/qtest/migration-helpers.c
index a43d180c80..0025933883 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;
--
2.46.0
- [PULL 06/17] .gitlab-ci.d/buildtest: Build most targets in the build-without-defaults job, (continued)
- [PULL 06/17] .gitlab-ci.d/buildtest: Build most targets in the build-without-defaults job, Thomas Huth, 2024/09/17
- [PULL 07/17] gitlab: fix logic for changing docker tag on stable branches, Thomas Huth, 2024/09/17
- [PULL 08/17] tests/qtest: replace assert(0) with g_assert_not_reached(), Thomas Huth, 2024/09/17
- [PULL 09/17] tests/unit: replace assert(0) with g_assert_not_reached(), Thomas Huth, 2024/09/17
- [PULL 10/17] include/hw/s390x: replace assert(false) with g_assert_not_reached(), Thomas Huth, 2024/09/17
- [PULL 14/17] system: Enable the device aliases for or1k, too, Thomas Huth, 2024/09/17
- [PULL 16/17] tests/functional: Move the mips64el fuloong2e test into the thorough category, Thomas Huth, 2024/09/17
- [PULL 13/17] system: Sort QEMU_ARCH_VIRTIO_PCI definition, Thomas Huth, 2024/09/17
- [PULL 11/17] tests/qtest: replace assert(false) with g_assert_not_reached(), Thomas Huth, 2024/09/17
- [PULL 15/17] docs/fuzz: fix outdated mention to enable-sanitizers, Thomas Huth, 2024/09/17
- [PULL 12/17] tests/qtest: remove break after g_assert_not_reached(),
Thomas Huth <=
- [PULL 17/17] .gitlab-ci.d/crossbuilds.yml: Force 'make check' to -j2 for cross-i686-tci, Thomas Huth, 2024/09/17
- Re: [PULL 00/17] s390x and test patches, Peter Maydell, 2024/09/17