mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
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:
committed by
Enrico Weigelt
parent
041df2b777
commit
adc2653824
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user