summary refs log tree commit diff stats
path: root/hw/hyperv/hyperv_testdev.c
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2024-09-18 21:46:33 -0700
committerThomas Huth <thuth@redhat.com>2024-09-24 13:53:35 +0200
commitf1912e48244816d071b2836052c54845ba57343c (patch)
tree60cc83168e74a4b906b0d07a75ba0b8d1fdd0c24 /hw/hyperv/hyperv_testdev.c
parent59a749a4d2c5df586540fed106ef620446e7a4f1 (diff)
downloadfocaccia-qemu-f1912e48244816d071b2836052c54845ba57343c.tar.gz
focaccia-qemu-f1912e48244816d071b2836052c54845ba57343c.zip
hw/hyperv: 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-27-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/hyperv/hyperv_testdev.c')
-rw-r--r--hw/hyperv/hyperv_testdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/hyperv/hyperv_testdev.c b/hw/hyperv/hyperv_testdev.c
index ef50e490c4..a630ca7047 100644
--- a/hw/hyperv/hyperv_testdev.c
+++ b/hw/hyperv/hyperv_testdev.c
@@ -89,7 +89,6 @@ static TestSintRoute *sint_route_find(HypervTestDev *dev,
         }
     }
     g_assert_not_reached();
-    return NULL;
 }
 
 static void sint_route_destroy(HypervTestDev *dev,