[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg-devel
Subject: [PATCH libX11 2/4] _XIOError(dpy); will never return so remore dead
From: walter harms <wharms () bfs ! de>
Date: 2016-03-31 17:12:17
Message-ID: 56FD5A71.6050606 () bfs ! de
[Download RAW message or body]
Signed-off-by: walter harms <wharms@bfs.de>
---
remove dead code as _XIOError will never return
---
src/xcb_io.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/xcb_io.c b/src/xcb_io.c
index bd26a62..4826621 100644
--- a/src/xcb_io.c
+++ b/src/xcb_io.c
@@ -700,10 +700,8 @@ Status _XReply(Display *dpy, xReply *rep, int extra, Bool discard)
/* it's not an error, but we don't have a reply, so it's an I/O
* error. */
if(!reply)
- {
_XIOError(dpy);
- return 0;
- }
+
/* there's no error and we have a reply. */
dpy->xcb->reply_data = reply;
--
2.1.4
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic