]> code.delx.au - gnu-emacs/commitdiff
src/dispnew.c (showing_window_margins_p): Wrap in #if 0.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 8 Jun 2012 12:19:28 +0000 (14:19 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 8 Jun 2012 12:19:28 +0000 (14:19 +0200)
src/ChangeLog
src/dispnew.c

index 8bc7d6d24a420558ddafc2014263473a783116da..ff9664d208fd3ed0db148e71c5100e4dc3f58085 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * dispnew.c (showing_window_margins_p): Wrap in #if 0 to prevent unused
+       function warning (the only call is inside #if 0 since 2012-06-08T08:44:45Z!eliz@gnu.org).
+
 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
 
        * alloc.c (allocate_vectorlike): Fix last change.
index 5cf6d5817900da1d004c20559a5b636068a465e2..fa9154bb6cc6dfdeb7b90b1cff918c7973aa765b 100644 (file)
@@ -1962,6 +1962,7 @@ adjust_frame_glyphs (struct frame *f)
 
 /* Return 1 if any window in the tree has nonzero window margins.  See
    the hack at the end of adjust_frame_glyphs_for_frame_redisplay.  */
+#if 0
 static int
 showing_window_margins_p (struct window *w)
 {
@@ -1985,6 +1986,7 @@ showing_window_margins_p (struct window *w)
     }
   return 0;
 }
+#endif
 
 
 /* In the window tree with root W, build current matrices of leaf