From f896ae8c53e99f39b347f9f0ac2b4a8cc12cad6f Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sun, 23 Nov 2008 17:25:21 -0800 Subject: [PATCH] Shutup compiler warning about unused variable... --- src/xcb_util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xcb_util.c b/src/xcb_util.c index 5bad16a..4ae9097 100644 --- 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]; -- 2.34.1