summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-14 16:30:56 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-14 16:34:26 +0200
commitfdf110b8845248ad932bf774614a4fad95189c74 (patch)
treeaaab34b1b59e14e6e854d240072eee5200f26f64
parent2e0f43f113f2f2fd9d00ac802ac62f11374573a5 (diff)
downloademacs-fdf110b8845248ad932bf774614a4fad95189c74.tar.gz
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.
-rw-r--r--src/xfns.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 41a9d710d44..748ea10c952 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;