mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 22:30:14 +01:00
OtherClientGone: Remove unreachable return statement
Now that FatalError is marked as _X_NORETURN, the compilers know we
can't get here, and the return statement added to make them happy in
the past now makes them unhappy.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 93a378aad4)
This commit is contained in:
parent
e08f1c261c
commit
49bb2694f1
1 changed files with 0 additions and 1 deletions
|
|
@ -4314,7 +4314,6 @@ OtherClientGone(pointer value, XID id)
|
|||
prev = other;
|
||||
}
|
||||
FatalError("client not on event list");
|
||||
/*NOTREACHED*/ return -1; /* make compiler happy */
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue