fix -Wmaybe-uninitialized warning

master
NRK 2021-12-25 08:07:30 +06:00 committed by N-R-K
parent b42e3ef3d4
commit 5a3fb3b812
1 changed files with 1 additions and 1 deletions

View File

@ -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;