Remove unused variables in write_hdr_scanline.

Fixes #90.
master
Jørgen P. Tjernø ago%!(EXTRA string=10 years)
parent bdef693b7c
commit 80176ae4a1
  1. 1
      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 */ /* 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) {

Loading…
Cancel
Save