fix -Wmaybe-uninitialized warning

This commit is contained in:
NRK 2021-12-25 08:07:30 +06:00 committed by N-R-K
parent b42e3ef3d4
commit 5a3fb3b812

View File

@ -159,7 +159,7 @@ static bool img_load_gif(img_t *img, const fileinfo_t *file)
GifRowType *rows = NULL; GifRowType *rows = NULL;
GifRecordType rec; GifRecordType rec;
ColorMapObject *cmap; ColorMapObject *cmap;
DATA32 bgpixel, *data, *ptr; DATA32 bgpixel = 0, *data, *ptr;
DATA32 *prev_frame = NULL; DATA32 *prev_frame = NULL;
Imlib_Image im; Imlib_Image im;
int i, j, bg, r, g, b; int i, j, bg, r, g, b;