emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114427: Suppress unused variable warning when compi


From: Daniel Colascione
Subject: [Emacs-diffs] trunk r114427: Suppress unused variable warning when compiling without a window system.
Date: Sun, 22 Sep 2013 09:48:47 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114427
revision-id: address@hidden
parent: address@hidden
committer: address@hidden
branch nick: trunk
timestamp: Sun 2013-09-22 01:48:21 -0800
message:
  Suppress unused variable warning when compiling without a window system.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/xfns.c                     xfns.c-20091113204419-o5vbwnq5f7feedwu-274
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-09-22 09:31:55 +0000
+++ b/src/ChangeLog     2013-09-22 09:48:21 +0000
@@ -1,5 +1,10 @@
 2013-09-22  Daniel Colascione  <address@hidden>
 
+       * xfns.c (x_get_monitor_attributes): Suppress unused variable
+       warning when compiling without a window system.
+
+2013-09-22  Daniel Colascione  <address@hidden>
+
        * data.c (Qbool_vector_p): New symbol.
        (bool_vector_spare_mask,popcount_size_t_generic)
        (popcount_size_t_msc,popcount_size_t_gcc)

=== modified file 'src/xfns.c'
--- a/src/xfns.c        2013-09-15 08:28:30 +0000
+++ b/src/xfns.c        2013-09-22 09:48:21 +0000
@@ -3949,6 +3949,8 @@
   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;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]