empty default cases with no break statement from switch statements.
val->rgba.r = buf[2];
val->rgba.a = buf[3];
break;
val->rgba.r = buf[2];
val->rgba.a = buf[3];
break;
buf[2] = val->rgba.r;
buf[3] = val->rgba.a;
break;
buf[2] = val->rgba.r;
buf[3] = val->rgba.a;
break;
ml = min(s->len, pixels-cp);
for(k=0; k<ml; k++) for(j=0; j<s->bytepp; j++)
buf[(cp+k)*s->bytepp+j] = s->cval[j];
ml = min(s->len, pixels-cp);
for(k=0; k<ml; k++) for(j=0; j<s->bytepp; j++)
buf[(cp+k)*s->bytepp+j] = s->cval[j];
- // memset(buf+cp, s->cidx, ml);
cp += ml;
s->len -= ml;
break;
cp += ml;
s->len -= ml;
break;
tga_header header;
tga_dest dest;
unsigned char headbuf[18];
tga_header header;
tga_dest dest;
unsigned char headbuf[18];
- // unsigned char *data;
unsigned int bitspp;
int mapped;
unsigned int bitspp;
int mapped;