Skip to content

Commit

Permalink
Merge pull request assimp#4642 from assimp/kimkulling/fix_stb_header
Browse files Browse the repository at this point in the history
Fix uninitialized variable.
  • Loading branch information
kimkulling authored Jul 16, 2022
2 parents d8f4227 + bc6aced commit 0a9a23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/stb/stb_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -4941,7 +4941,7 @@ static int stbi__parse_png_file(stbi__png *z, int scan, int req_comp)
{
stbi_uc palette[1024], pal_img_n=0;
stbi_uc has_trans=0, tc[3]={0};
stbi__uint16 tc16[3];
stbi__uint16 tc16[3]={0};
stbi__uint32 ioff=0, idata_limit=0, i, pal_len=0;
int first=1,k,interlace=0, color=0, is_iphone=0;
stbi__context *s = z->s;
Expand Down

0 comments on commit 0a9a23a

Please sign in to comment.