mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Suppress warnings for uninitialized values
This commit is contained in:
parent
d86ac40b20
commit
8d3abf8440
@ -286,8 +286,8 @@ int gif_pixel_plot(struct zint_symbol *symbol, int image_height, int image_width
|
||||
int errno;
|
||||
int row, column;
|
||||
FILE *gif_file;
|
||||
unsigned short ImageWidth;
|
||||
unsigned short ImageHeight;
|
||||
unsigned short ImageWidth = image_width;
|
||||
unsigned short ImageHeight = image_height;
|
||||
unsigned short usTemp;
|
||||
int byte_out;
|
||||
#ifdef _MSC_VER
|
||||
@ -306,8 +306,6 @@ int gif_pixel_plot(struct zint_symbol *symbol, int image_height, int image_width
|
||||
switch (rotate_angle) {
|
||||
case 0:
|
||||
case 180:
|
||||
ImageWidth = image_width;
|
||||
ImageHeight = image_height;
|
||||
symbol->bitmap_width = image_width;
|
||||
symbol->bitmap_height = image_height;
|
||||
break;
|
||||
|
@ -1302,7 +1302,7 @@ int han_xin(struct zint_symbol *symbol, const unsigned char source[], int length
|
||||
int est_binlen;
|
||||
int ecc_level = symbol->option_1;
|
||||
int i, j, version, posn = 0, glyph, glyph2;
|
||||
int data_codewords, size;
|
||||
int data_codewords = 0, size;
|
||||
int est_codewords;
|
||||
int bitmask;
|
||||
int error_number;
|
||||
|
Loading…
Reference in New Issue
Block a user