summaryrefslogtreecommitdiff
path: root/src/XlibInt.c
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2015-07-19 10:22:45 +0200
committerThomas Klausner <wiz@NetBSD.org>2015-07-19 23:01:05 +0200
commit80b9a346b9ba200fa4652560282e80d249519287 (patch)
tree0e23cc57bc2528c3d2f396f2203c0181664df481 /src/XlibInt.c
parentc827edcd1c4a7f920aa25208083b5b58d60d2b44 (diff)
downloadxorg-lib-libX11-80b9a346b9ba200fa4652560282e80d249519287.tar.gz
Do not return() after exit().
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/XlibInt.c')
-rw-r--r--src/XlibInt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XlibInt.c b/src/XlibInt.c
index 80c12987..bbc5c826 100644
--- a/src/XlibInt.c
+++ b/src/XlibInt.c
@@ -1256,7 +1256,7 @@ int _XDefaultIOError(
}
exit(1);
- return(0); /* dummy - function should never return */
+ /*NOTREACHED*/
}
@@ -1465,7 +1465,7 @@ _XIOError (
else
_XDefaultIOError(dpy);
exit (1);
- return 0;
+ /*NOTREACHED*/
}