projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d79621b
)
Shutup compiler warning about unused variable...
author
Jeremy Huddleston
<jeremyhu@freedesktop.org>
Mon, 24 Nov 2008 01:25:21 +0000
(17:25 -0800)
committer
Jeremy Huddleston
<jeremyhu@freedesktop.org>
Mon, 24 Nov 2008 01:25:21 +0000
(17:25 -0800)
src/xcb_util.c
patch
|
blob
|
history
diff --git
a/src/xcb_util.c
b/src/xcb_util.c
index
5bad16a
..
4ae9097
100644
(file)
--- a/
src/xcb_util.c
+++ b/
src/xcb_util.c
@@
-130,7
+130,9
@@
static int _xcb_open_abstract(char *protocol, const char *file);
static int _xcb_open(char *host, char *protocol, const int display)
{
+#ifdef HAVE_ABSTRACT_SOCKETS
int fd;
+#endif
static const char base[] = "/tmp/.X11-unix/X";
char file[sizeof(base) + 20];