From 35cdfc5e76543813366c3f7f050f58681988a904 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 10 Oct 2016 16:13:58 +0100 Subject: [PATCH] test-segfault: mark exception_handler as NORETURN It calls ExitProcess(), which is correctly detected as not returning. Signed-off-by: Simon McVittie --- test/test-segfault.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test-segfault.c b/test/test-segfault.c index cd80db6d..8517dd6c 100644 --- a/test/test-segfault.c +++ b/test/test-segfault.c @@ -17,8 +17,9 @@ #include #include -int -exception_handler(LPEXCEPTION_POINTERS p); +#include + +int exception_handler (LPEXCEPTION_POINTERS p) _DBUS_GNUC_NORETURN; /* Explicit Windows exception handlers needed to supress OS popups */ int