From adc2653824c6381eec7b8b49cac9518ea9761297 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 ee91e47f01..556ae65254 100644 --- a/hw/kdrive/ephyr/ephyr.c +++ b/hw/kdrive/ephyr/ephyr.c @@ -973,6 +973,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) {