summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-06-12 22:29:51 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2012-08-01 17:15:21 -0700
commit49bb2694f10149fbd27c04375939dcfe7cde1e4e (patch)
treeed41e256b1dd5c477d9e0e52515a14e41a8410e8
parente08f1c261c75d50a3581e8791700436cba6e4b21 (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> (cherry picked from commit 93a378aad4a4a03f37ddafccfedeb9d6e2be2a6a)
-rw-r--r--dix/events.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index 86336fef6..64edf189a 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -4314,7 +4314,6 @@ OtherClientGone(pointer value, XID id)
prev = other;
}
FatalError("client not on event list");
- /*NOTREACHED*/ return -1; /* make compiler happy */
}
int