summaryrefslogtreecommitdiff
path: root/dix/events.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-06-12 22:29:51 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-06-20 21:41:37 -0700
commit93a378aad4a4a03f37ddafccfedeb9d6e2be2a6a (patch)
tree0c207e590ceebed39a793193d070ca6b6dfc2240 /dix/events.c
parent3f97284b10c250457888902debd4d793cb4544d4 (diff)
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>
Diffstat (limited to 'dix/events.c')
-rw-r--r--dix/events.c1
1 files changed, 0 insertions, 1 deletions
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