emacs-diffs
[Top][All Lists]
Advanced

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

master fdf110b884: Silence unused variable warning in a build --without-


From: Stefan Kangas
Subject: master fdf110b884: Silence unused variable warning in a build --without-all
Date: Thu, 14 Jul 2022 10:35:32 -0400 (EDT)

branch: master
commit fdf110b8845248ad932bf774614a4fad95189c74
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Silence unused variable warning in a build --without-all
    
    * src/xfns.c (Fx_double_buffered_p): Silence unused variable warning
    in a build --without-all.
---
 src/xfns.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/xfns.c b/src/xfns.c
index 41a9d710d4..748ea10c95 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -8850,9 +8850,8 @@ DEFUN ("x-double-buffered-p", Fx_double_buffered_p, 
Sx_double_buffered_p,
        doc: /* Return t if FRAME is being double buffered.  */)
      (Lisp_Object frame)
 {
-  struct frame *f = decode_live_frame (frame);
-
 #ifdef HAVE_XDBE
+  struct frame *f = decode_live_frame (frame);
   return FRAME_X_DOUBLE_BUFFERED_P (f) ? Qt : Qnil;
 #else
   return Qnil;



reply via email to

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