From 3db3d5a3981dad1ac42a5729c285b9adaba10f05 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Mon, 22 Nov 2021 11:13:03 +0000 Subject: [PATCH] Fix compiler warning in image.c * src/image.c (webp_load): Initialize `mask_img' to NULL. --- src/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5