@@ -219,7 +219,7 @@ static unsigned int calc_color(unsigned int color,unsigned short alpha) {
219
219
220
220
static void process_row_0_1 (unsigned char * p ,int width ,int r ,int hoff ,int hskip ) {
221
221
int c ;
222
- unsigned char m ;
222
+ unsigned char m = '\0' ;
223
223
unsigned int v ,* imgp ;
224
224
225
225
imgp = img_output + r * png_ihdr .width + hoff ;
@@ -241,7 +241,7 @@ static void process_row_0_1(unsigned char *p,int width,int r,int hoff,int hskip)
241
241
242
242
static void process_row_0_2 (unsigned char * p ,int width ,int r ,int hoff ,int hskip ) {
243
243
int c ;
244
- unsigned char m ;
244
+ unsigned char m = '\0' ;
245
245
unsigned int v ,* imgp ;
246
246
247
247
imgp = img_output + r * png_ihdr .width + hoff ;
@@ -263,7 +263,7 @@ static void process_row_0_2(unsigned char *p,int width,int r,int hoff,int hskip)
263
263
264
264
static void process_row_0_4 (unsigned char * p ,int width ,int r ,int hoff ,int hskip ) {
265
265
int c ;
266
- unsigned char m ;
266
+ unsigned char m = '\0' ;
267
267
unsigned int v ,* imgp ;
268
268
269
269
imgp = img_output + r * png_ihdr .width + hoff ;
@@ -359,7 +359,7 @@ static void process_row_2_16(unsigned char *p,int width,int r,int hoff,int hskip
359
359
360
360
static void process_row_3_1 (unsigned char * p ,int width ,int r ,int hoff ,int hskip ) {
361
361
int c ;
362
- unsigned char m ;
362
+ unsigned char m = '\0' ;
363
363
unsigned int v ,* imgp ;
364
364
365
365
imgp = img_output + r * png_ihdr .width + hoff ;
@@ -375,7 +375,7 @@ static void process_row_3_1(unsigned char *p,int width,int r,int hoff,int hskip)
375
375
376
376
static void process_row_3_2 (unsigned char * p ,int width ,int r ,int hoff ,int hskip ) {
377
377
int c ;
378
- unsigned char m ;
378
+ unsigned char m = '\0' ;
379
379
unsigned int v ,* imgp ;
380
380
381
381
imgp = img_output + r * png_ihdr .width + hoff ;
@@ -391,7 +391,7 @@ static void process_row_3_2(unsigned char *p,int width,int r,int hoff,int hskip)
391
391
392
392
static void process_row_3_4 (unsigned char * p ,int width ,int r ,int hoff ,int hskip ) {
393
393
int c ;
394
- unsigned char m ;
394
+ unsigned char m = '\0' ;
395
395
unsigned int v ,* imgp ;
396
396
397
397
imgp = img_output + r * png_ihdr .width + hoff ;
0 commit comments