diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2016-10-16 02:15:13 +0200 |
---|---|---|
committer | Ulrich Sibiller <u.sibiller@science-computing.de> | 2016-10-20 10:16:35 +0200 |
commit | 2c59fbe30b86854f32e80b84be18328a661e7707 (patch) | |
tree | 98560e84b592502d3d631c1ab91d18937fce2127 /nx-X11/lib/X11/XlibInt.c | |
parent | 0a28292ec986070edccc8fc1eea4c3d3e280e102 (diff) | |
download | nx-libs-2c59fbe30b86854f32e80b84be18328a661e7707.tar.gz nx-libs-2c59fbe30b86854f32e80b84be18328a661e7707.tar.bz2 nx-libs-2c59fbe30b86854f32e80b84be18328a661e7707.zip |
Fix warnings in XlibInt.c
XlibInt.c: In function ‘_XIOError’:
XlibInt.c:3750:1: warning: ‘noreturn’ function does return [enabled by default]
}
After fixing the above a new warning came up, which is also fixed now:
XlibInt.c: In function ‘_XIOError’:
XlibInt.c:3750:1: warning: control reaches end of non-void function [-Wreturn-type]
}
Diffstat (limited to 'nx-X11/lib/X11/XlibInt.c')
-rw-r--r-- | nx-X11/lib/X11/XlibInt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/XlibInt.c b/nx-X11/lib/X11/XlibInt.c index d3c85a343..851fa236e 100644 --- a/nx-X11/lib/X11/XlibInt.c +++ b/nx-X11/lib/X11/XlibInt.c @@ -3743,6 +3743,8 @@ _XIOError ( dpy->flags &= ~XlibDisplayReadEvents; dpy->flags &= ~XlibDisplayWriting; dpy->flags &= ~XlibDisplayReply; + /* shut up the compiler by returning something */ + return 0; #else exit (1); #endif |