mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
; Avoid warnings when neither GIF nor WebP are supported
* src/image.c (gif_clear_image): Render contingent on HAVE_GIF || HAVE_WEBP.
This commit is contained in:
parent
b224605d30
commit
53305372d0
1 changed files with 4 additions and 0 deletions
|
|
@ -9655,6 +9655,8 @@ static const struct image_keyword gif_format[GIF_LAST] =
|
|||
|
||||
#endif
|
||||
|
||||
#if defined HAVE_GIF || defined HAVE_WEBP
|
||||
|
||||
/* Free X resources of GIF image IMG which is used on frame F.
|
||||
Also used by other image types. */
|
||||
|
||||
|
|
@ -9665,6 +9667,8 @@ gif_clear_image (struct frame *f, struct image *img)
|
|||
image_clear_image (f, img);
|
||||
}
|
||||
|
||||
#endif /* defined HAVE_GIF || defined HAVE_WEBP */
|
||||
|
||||
#if defined (HAVE_GIF)
|
||||
|
||||
/* Return true if OBJECT is a valid GIF image specification. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue