Suppress unused variable warning when compiling without a window system.
This commit is contained in:
parent
3e0b94e7ff
commit
cd9356f211
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* data.c (Qbool_vector_p): New symbol.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue