summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2013-09-22 01:48:21 -0800
committerDaniel Colascione <dancol@dancol.org>2013-09-22 01:48:21 -0800
commitcd9356f211b24948a934ce08b60f61301d866835 (patch)
tree2527f9c7fd032bdbcf44d9156a4ba8513f90318a /src/xfns.c
parent3e0b94e7ff1fc69b077322d672ef5d0b668541c3 (diff)
Suppress unused variable warning when compiling without a window system.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 38aa5b3bbf..2b89564294 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3949,6 +3949,8 @@ x_get_monitor_attributes (struct x_display_info *dpyinfo)
Lisp_Object attributes_list = Qnil;
Display *dpy = dpyinfo->display;
+ (void) dpy; /* Suppress unused variable warning. */
+
#ifdef HAVE_XRANDR
int xrr_event_base, xrr_error_base;
bool xrr_ok = false;