remove dead code _XIOError(dpy); will never return and the return never reached
Signed-off-by: walter harms <[email protected]> --- 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 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
