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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-11 14:07:06 +01:00
committed by Enrico Weigelt
parent 041df2b777
commit adc2653824

View File

@@ -973,6 +973,9 @@ screen_from_window(Window w)
return NULL; return NULL;
} }
static void
ephyrProcessErrorEvent(xcb_generic_event_t *xev) _X_NORETURN;
static void static void
ephyrProcessErrorEvent(xcb_generic_event_t *xev) ephyrProcessErrorEvent(xcb_generic_event_t *xev)
{ {