X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_xlib.c;h=61518f765fcfe824c468e5384185a38d41fcf79b;hb=ac17ae62fe1a3a29991e36e35eeee838ac4acb00;hp=8cc6837b16a7ea32a0d0dca5f7cc003f9cd11ffc;hpb=47ceed78612d48dcda62cc2686fc527d61abe38b;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_xlib.c b/src/xcb_xlib.c index 8cc6837..61518f7 100644 --- a/src/xcb_xlib.c +++ b/src/xcb_xlib.c @@ -28,11 +28,7 @@ unsigned int XCBGetRequestSent(XCBConnection *c) { - unsigned int ret; - pthread_mutex_lock(&c->iolock); - ret = c->out.request; - pthread_mutex_unlock(&c->iolock); - return ret; + return c->out.request; } pthread_mutex_t *XCBGetIOLock(XCBConnection *c)