Remove unused variables in write_hdr_scanline.

Fixes #90.
This commit is contained in:
Jørgen P. Tjernø 2015-03-24 11:22:20 -07:00
parent bdef693b7c
commit 80176ae4a1

View File

@ -297,7 +297,6 @@ void stbiw__write_hdr_scanline(FILE *f, int width, int comp, unsigned char *scra
/* RLE each component separately */ /* RLE each component separately */
for (c=0; c < 4; c++) { for (c=0; c < 4; c++) {
unsigned char *comp = &scratch[width*c]; unsigned char *comp = &scratch[width*c];
int runstart = 0, head = 0, rlerun = 0;
x = 0; x = 0;
while (x < width) { while (x < width) {