fix -Wmaybe-uninitialized warning
This commit is contained in:
parent
b42e3ef3d4
commit
5a3fb3b812
2
image.c
2
image.c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue