From 30b8bebf82f916133f10e7b74dd4085b32ba4954 Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Sun, 7 Aug 2016 21:00:27 +0100 Subject: [PATCH] Remove compiler warnings --- backend/dotcode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/dotcode.c b/backend/dotcode.c index 00195dc4..11225ccf 100644 --- a/backend/dotcode.c +++ b/backend/dotcode.c @@ -84,6 +84,7 @@ int score_array(char Dots[], int Hgt, int Wid) { sum = 0; first = -1; + last = -1; // across the top edge, count printed dots and measure their extent 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->barcode_options += BARCODE_DOTTY_MODE; + symbol->output_options += BARCODE_DOTTY_MODE; return 0; } \ No newline at end of file