diff options
author | NRK <nrk@disroot.org> | 2021-12-25 08:07:30 +0600 |
---|---|---|
committer | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2022-01-06 17:53:02 +0000 |
commit | 5a3fb3b8123a1c6cee677062587d0f18d8797f8f (patch) | |
tree | 02678d38bc537b138199470183d0a2d2dc0991f4 | |
parent | b42e3ef3d4f8068a9bf694c6a8c90161e281f0d7 (diff) |
fix -Wmaybe-uninitialized warning
-rw-r--r-- | image.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |