From: Pierrick Bouvier Date: Thu, 19 Sep 2024 04:46:32 +0000 (-0700) Subject: include/qemu: remove return after g_assert_not_reached() X-Git-Tag: v9.2.0-rc0~72^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=59a749a4d2c5df586540fed106ef620446e7a4f1;p=thirdparty%2Fqemu.git include/qemu: 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 Signed-off-by: Pierrick Bouvier Message-ID: <20240919044641.386068-26-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth --- diff --git a/include/qemu/pmem.h b/include/qemu/pmem.h index d2d7ad085cc..e12a67ba2c0 100644 --- a/include/qemu/pmem.h +++ b/include/qemu/pmem.h @@ -22,7 +22,6 @@ pmem_memcpy_persist(void *pmemdest, const void *src, size_t len) /* If 'pmem' option is 'on', we should always have libpmem support, or qemu will report a error and exit, never come here. */ g_assert_not_reached(); - return NULL; } static inline void