aboutsummaryrefslogtreecommitdiff
path: root/qom
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2024-09-18 21:46:39 -0700
committerThomas Huth <thuth@redhat.com>2024-09-24 13:53:35 +0200
commit02f5360d80a7a45190e31b8255b60edaf101211c (patch)
tree4fe1708dee82bbf12f73ea8d69391b5903c38f47 /qom
parentf52e6308251b53e9a283c842030b4eea32872577 (diff)
downloadqemu-02f5360d80a7a45190e31b8255b60edaf101211c.zip
qemu-02f5360d80a7a45190e31b8255b60edaf101211c.tar.gz
qemu-02f5360d80a7a45190e31b8255b60edaf101211c.tar.bz2
qom: 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 <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20240919044641.386068-33-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'qom')
-rw-r--r--qom/object.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/qom/object.c b/qom/object.c
index 157a45c..28c5b66 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -2079,7 +2079,6 @@ const char *object_get_canonical_path_component(const Object *obj)
/* obj had a parent but was not a child, should never happen */
g_assert_not_reached();
- return NULL;
}
char *object_get_canonical_path(const Object *obj)