Remove compiler warnings

This commit is contained in:
Robin Stuart 2016-08-07 21:00:27 +01:00
parent d7fd2dc584
commit 30b8bebf82

View File

@ -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;
} }