Commit cd9356f2 authored by Daniel Colascione's avatar Daniel Colascione

Suppress unused variable warning when compiling without a window system.

parent 3e0b94e7
2013-09-22 Daniel Colascione <dancol@dancol.org>
* xfns.c (x_get_monitor_attributes): Suppress unused variable
warning when compiling without a window system.
2013-09-22 Daniel Colascione <dancol@dancol.org> 2013-09-22 Daniel Colascione <dancol@dancol.org>
* data.c (Qbool_vector_p): New symbol. * data.c (Qbool_vector_p): New symbol.
......
...@@ -3949,6 +3949,8 @@ x_get_monitor_attributes (struct x_display_info *dpyinfo) ...@@ -3949,6 +3949,8 @@ x_get_monitor_attributes (struct x_display_info *dpyinfo)
Lisp_Object attributes_list = Qnil; Lisp_Object attributes_list = Qnil;
Display *dpy = dpyinfo->display; Display *dpy = dpyinfo->display;
(void) dpy; /* Suppress unused variable warning. */
#ifdef HAVE_XRANDR #ifdef HAVE_XRANDR
int xrr_event_base, xrr_error_base; int xrr_event_base, xrr_error_base;
bool xrr_ok = false; bool xrr_ok = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment