diff --git a/stb_image_write.h b/stb_image_write.h index 38d3835..ecc285f 100644 --- a/stb_image_write.h +++ b/stb_image_write.h @@ -795,7 +795,7 @@ unsigned char * stbi_zlib_compress(unsigned char *data, int data_len, int *out_l { // compute adler32 on input - unsigned int k=0, s1=1, s2=0; + unsigned int s1=1, s2=0; int blocklen = (int) (data_len % 5552); j=0; while (j < data_len) {