mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 18:37:07 +00:00
Remove compiler warnings
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user