From: Po Lu Date: Mon, 22 Nov 2021 11:13:03 +0000 (+0000) Subject: Fix compiler warning in image.c X-Git-Tag: emacs-29.0.90~2852^2~109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3db3d5a3981dad1ac42a5729c285b9adaba10f05;p=emacs.git Fix compiler warning in image.c * src/image.c (webp_load): Initialize `mask_img' to NULL. --- diff --git a/src/image.c b/src/image.c index 734ccdac311..f2597f529d1 100644 --- a/src/image.c +++ b/src/image.c @@ -9059,7 +9059,7 @@ webp_load (struct frame *f, struct image *img) } /* Create the x image and pixmap. */ - Emacs_Pix_Container ximg, mask_img; + Emacs_Pix_Container ximg, mask_img = NULL; if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, false)) goto webp_error2;