diff --git a/stb_image_write.h b/stb_image_write.h index 5a449d9d0da1d9895fe6710f52930dd75b2cec18..35dea0c0162df3ec9f1ea3834e532d10ede0aa25 100644 --- a/stb_image_write.h +++ b/stb_image_write.h @@ -297,7 +297,6 @@ void stbiw__write_hdr_scanline(FILE *f, int width, int comp, unsigned char *scra /* RLE each component separately */ for (c=0; c < 4; c++) { unsigned char *comp = &scratch[width*c]; - int runstart = 0, head = 0, rlerun = 0; x = 0; while (x < width) {