aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2015-07-19 10:22:45 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:29 +0200
commitfc524ddbba875a5f091f13aaf5d851c7afb299f4 (patch)
tree811d455f273971f19960ff772e2a400e50a595df /nx-X11/lib/X11
parent1445735ef8fb669de0b96f01939c77ce285b5f4c (diff)
downloadnx-libs-fc524ddbba875a5f091f13aaf5d851c7afb299f4.tar.gz
nx-libs-fc524ddbba875a5f091f13aaf5d851c7afb299f4.tar.bz2
nx-libs-fc524ddbba875a5f091f13aaf5d851c7afb299f4.zip
Do not return() after exit().
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11')
-rw-r--r--nx-X11/lib/X11/XlibInt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/XlibInt.c b/nx-X11/lib/X11/XlibInt.c
index 418853391..d3c85a343 100644
--- a/nx-X11/lib/X11/XlibInt.c
+++ b/nx-X11/lib/X11/XlibInt.c
@@ -3496,7 +3496,7 @@ int _XDefaultIOError(
#else
exit(1);
#endif /* #ifdef NX_TRANS_SOCKET */
- return(0); /* dummy - function should never return */
+ /*NOTREACHED*/
}
@@ -3746,7 +3746,7 @@ _XIOError (
#else
exit (1);
#endif
- return 0;
+ /*NOTREACHED*/
}