fix uninitialized variables (#3023)

This commit is contained in:
Amir Gonnen
2022-01-19 16:24:44 +02:00
committed by GitHub
parent e9d70803e1
commit 9d1febd275
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ static gd_GIF * gif_open(gd_GIF * gif_base)
int i;
uint8_t *bgcolor;
int gct_sz;
gd_GIF *gif;
gd_GIF *gif = NULL;
/* Header */
f_gif_read(gif_base, sigver, 3);