]> git.eshelyaron.com Git - emacs.git/commitdiff
Suppress unused variable warning when compiling without a window system.
authorDaniel Colascione <dancol@dancol.org>
Sun, 22 Sep 2013 09:48:21 +0000 (01:48 -0800)
committerDaniel Colascione <dancol@dancol.org>
Sun, 22 Sep 2013 09:48:21 +0000 (01:48 -0800)
src/ChangeLog
src/xfns.c

index 7c3a29c5d862939b8f087a64489c85c5adf23203..d679a0ae9c968cb3db59de9aa3b359a70bf5fab0 100644 (file)
@@ -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.
index 38aa5b3bbfed72c8e4ba79785e3716ebd253f369..2b895642942f02d698b752c2d64b38930dce95dd 100644 (file)
@@ -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;