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:
Alan Coopersmith 2012-06-12 22:29:51 -07:00 committed by Jeremy Huddleston Sequoia
parent e08f1c261c
commit 49bb2694f1

View file

@ -4314,7 +4314,6 @@ OtherClientGone(pointer value, XID id)
prev = other;
}
FatalError("client not on event list");
/*NOTREACHED*/ return -1; /* make compiler happy */
}
int