projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b0ab33
)
* src/image.c (xpm_image_p): Avoid another compiler warning.
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 13 May 2021 09:23:19 +0000
(12:23 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 13 May 2021 09:23:19 +0000
(12:23 +0300)
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index d0fc4ed741bfa2c7956feb0c4121906becc8b3f5..d514f9713e11730c6fa203155bbec3064936443c 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-4322,6
+4322,7
@@
xpm_valid_color_symbols_p (Lisp_Object color_symbols)
}
+#if defined HAVE_XPM || defined HAVE_NS
/* Value is true if OBJECT is a valid XPM image specification. */
static bool
@@
-4337,6
+4338,7
@@
xpm_image_p (Lisp_Object object)
&& (! fmt[XPM_COLOR_SYMBOLS].count
|| xpm_valid_color_symbols_p (fmt[XPM_COLOR_SYMBOLS].value)));
}
+#endif /* HAVE_XPM || HAVE_NS */
#endif /* HAVE_XPM || USE_CAIRO || HAVE_NS */