mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Remove compiler warnings
This commit is contained in:
parent
d7fd2dc584
commit
30b8bebf82
@ -84,6 +84,7 @@ int score_array(char Dots[], int Hgt, int Wid) {
|
|||||||
|
|
||||||
sum = 0;
|
sum = 0;
|
||||||
first = -1;
|
first = -1;
|
||||||
|
last = -1;
|
||||||
|
|
||||||
// across the top edge, count printed dots and measure their extent
|
// across the top edge, count printed dots and measure their extent
|
||||||
for (x = 0; x < Wid; x += 2)
|
for (x = 0; x < Wid; x += 2)
|
||||||
@ -1224,7 +1225,7 @@ int dotcode(struct zint_symbol *symbol, unsigned char source[], int length) {
|
|||||||
symbol->row_height[k] = 1;
|
symbol->row_height[k] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
symbol->barcode_options += BARCODE_DOTTY_MODE;
|
symbol->output_options += BARCODE_DOTTY_MODE;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user