From 93a378aad4a4a03f37ddafccfedeb9d6e2be2a6a Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 12 Jun 2012 22:29:51 -0700 Subject: [PATCH] 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 Reviewed-by: Peter Hutterer Reviewed-by: Keith Packard --- dix/events.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dix/events.c b/dix/events.c index 49894fa26..f571329d0 100644 --- a/dix/events.c +++ b/dix/events.c @@ -4325,7 +4325,6 @@ OtherClientGone(pointer value, XID id) prev = other; } FatalError("client not on event list"); - /*NOTREACHED*/ return -1; /* make compiler happy */ } int