nsxiv5a3fb3b
fix -Wmaybe-uninitialized warning
+1 −1
1 file changed
- M image.c +1 −1
| @@ -159,7 +159,7 @@ static bool img_load_gif(img_t *img, const fileinfo_t *file) | |||
| 159 | 159 | GifRowType *rows = NULL; | |
| 160 | 160 | GifRecordType rec; | |
| 161 | 161 | ColorMapObject *cmap; | |
| 162 | − | DATA32 bgpixel, *data, *ptr; | |
| 162 | + | DATA32 bgpixel = 0, *data, *ptr; | |
| 163 | 163 | DATA32 *prev_frame = NULL; | |
| 164 | 164 | Imlib_Image im; | |
| 165 | 165 | int i, j, bg, r, g, b; | |