From 0a1895604743940de885808cf4668423042f6c97 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 11 Dec 2025 14:07:06 +0100 Subject: [PATCH] kdrive: ephyr: add noreturn attribute to ephyrProcessErrorEvent() > ../hw/kdrive/ephyr/ephyr.c:977:1: warning: function 'ephyrProcessErrorEvent' could be declared with attribute 'noreturn' [-Wmissing-noreturn] > 977 | { > | ^ Signed-off-by: Enrico Weigelt, metux IT consult --- hw/kdrive/ephyr/ephyr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c index e099173157..96cd57a2a9 100644 --- a/hw/kdrive/ephyr/ephyr.c +++ b/hw/kdrive/ephyr/ephyr.c @@ -972,6 +972,9 @@ screen_from_window(Window w) return NULL; } +static void +ephyrProcessErrorEvent(xcb_generic_event_t *xev) _X_NORETURN; + static void ephyrProcessErrorEvent(xcb_generic_event_t *xev) {