[Xcb-commit] src
Arnaud Fontaine
arnau at kemper.freedesktop.org
Fri Apr 30 10:57:52 PDT 2010
src/xcb_util.c | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 5e86cb05666c448de2f61c23ae94e94ef4b38d64
Author: Arnaud Fontaine <arnau at debian.org>
Date: Fri Apr 30 18:49:18 2010 +0100
Fix GCC error on undeclared variable when not using abstract socket
This is a regression found by tinderbox in previous commit:
xcb_util.c: In function '_xcb_open':
xcb_util.c:213: error: 'fd' undeclared (first use in this function)
diff --git a/src/xcb_util.c b/src/xcb_util.c
index cc4e24a..3516186 100644
--- a/src/xcb_util.c
+++ b/src/xcb_util.c
@@ -140,9 +140,7 @@ static int _xcb_open_abstract(char *protocol, const char *file, size_t filelen);
static int _xcb_open(char *host, char *protocol, const int display)
{
-#ifdef HAVE_ABSTRACT_SOCKETS
int fd;
-#endif
static const char unix_base[] = "/tmp/.X11-unix/X";
const char *base = unix_base;
size_t filelen;
More information about the xcb-commit
mailing list