mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-23 23:30:02 +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
f590b320cc
commit
0a18956047
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user