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>
This commit is contained in:
parent
3f97284b10
commit
93a378aad4
|
@ -4325,7 +4325,6 @@ OtherClientGone(pointer value, XID id)
|
|||
prev = other;
|
||||
}
|
||||
FatalError("client not on event list");
|
||||
/*NOTREACHED*/ return -1; /* make compiler happy */
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue
Block a user