projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1a2e78
)
Fix compiler warning in image.c
author
Po Lu
<luangruo@yahoo.com>
Mon, 22 Nov 2021 11:13:03 +0000
(11:13 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 22 Nov 2021 11:13:55 +0000
(11:13 +0000)
* src/image.c (webp_load): Initialize `mask_img' to NULL.
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index 734ccdac311cfcc112a288ee32e15f7239cf22dd..f2597f529d1d06f284716a9cb72bf77d3816dc79 100644
(file)
--- 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;