Fixed unused-but-set-variable warning.

This commit is contained in:
Branimir Karadzic 2012-10-22 21:41:41 -07:00
parent 405b8559b3
commit 2450db9dec

View file

@ -2951,7 +2951,7 @@ static int shiftsigned(int v, int shift, int bits)
static stbi_uc *bmp_load(stbi *s, int *x, int *y, int *comp, int req_comp)
{
uint8 *out;
unsigned int mr=0,mg=0,mb=0,ma=0, fake_a=0;
unsigned int mr=0,mg=0,mb=0,ma=0;
stbi_uc pal[256][4];
int psize=0,i,j,compress=0,width;
int bpp, flip_vertically, pad, target, offset, hsz;