fix -Wmaybe-uninitialized warning
This commit is contained in:
parent
b42e3ef3d4
commit
5a3fb3b812
1 changed files with 1 additions and 1 deletions
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;
|
||||
GifRecordType rec;
|
||||
ColorMapObject *cmap;
|
||||
DATA32 bgpixel, *data, *ptr;
|
||||
DATA32 bgpixel = 0, *data, *ptr;
|
||||
DATA32 *prev_frame = NULL;
|
||||
Imlib_Image im;
|
||||
int i, j, bg, r, g, b;
|
||||
|
|
Loading…
Add table
Reference in a new issue