Krolyxon
Commit 5a3fb3b

Branches

Refs →

nsxiv5a3fb3b

fix -Wmaybe-uninitialized warning

Author
NRK
Date
2021-12-25 08:07 +0600
Committer
N-R-K · 2022-01-06 17:53 +0000
Parent
b42e3ef
Commit
5a3fb3b8123a1c6cee677062587d0f18d8797f8f

+1 −1

1 file changed

  1. M image.c +1 −1
M image.c View
@@ -159,7 +159,7 @@ static bool img_load_gif(img_t *img, const fileinfo_t *file)
159159 GifRowType *rows = NULL;
160160 GifRecordType rec;
161161 ColorMapObject *cmap;
162− DATA32 bgpixel, *data, *ptr;
162+ DATA32 bgpixel = 0, *data, *ptr;
163163 DATA32 *prev_frame = NULL;
164164 Imlib_Image im;
165165 int i, j, bg, r, g, b;