[PATCH:libX11 1/2] Do not return() after exit().
Thomas Klausner
wiz at NetBSD.org
Sun Jul 19 01:23:50 PDT 2015
Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
src/XlibInt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/XlibInt.c b/src/XlibInt.c
index 80c1298..bbc5c82 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*/
}
--
2.4.6
More information about the xorg-devel
mailing list