Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Dec 14, 2022
1 parent 2717613 commit 0ed7e15
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions coders/gif.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,8 @@ static LZWInfo *AcquireLZWInfo(Image *image,const size_t data_size)
lzw_info=RelinquishLZWInfo(lzw_info);
return((LZWInfo *) NULL);
}
(void) memset(lzw_info->table[0],0,MaximumLZWCode*
sizeof(**lzw_info->table));
(void) memset(lzw_info->table[1],0,MaximumLZWCode*
sizeof(**lzw_info->table));
(void) memset(lzw_info->table[0],0,MaximumLZWCode*sizeof(**lzw_info->table));
(void) memset(lzw_info->table[1],0,MaximumLZWCode*sizeof(**lzw_info->table));
for (i=0; i <= (ssize_t) lzw_info->maximum_data_value; i++)
{
lzw_info->table[0][i]=0;
Expand Down

0 comments on commit 0ed7e15

Please sign in to comment.