Skip to content

Commit

Permalink
Fix warning: tkImgListFormat.c:1092:5: warning: variable 'suffixAlpha…
Browse files Browse the repository at this point in the history
…' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
  • Loading branch information
jan.nijtmans committed May 9, 2024
1 parent e162c2f commit 6160314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/tkImgListFormat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ ParseColorAsStandard(
const char *suffixString, *colorString;
char colorBuffer[TK_PHOTO_MAX_COLOR_LENGTH + 1];
double fracAlpha;
unsigned int suffixAlpha;
unsigned int suffixAlpha = 0;
int i;

/*
Expand Down

0 comments on commit 6160314

Please sign in to comment.