diff --git a/backend/dmatrix.c b/backend/dmatrix.c index b6ef5d22..79694c7c 100644 --- a/backend/dmatrix.c +++ b/backend/dmatrix.c @@ -1149,7 +1149,7 @@ int data_matrix_200(struct zint_symbol *symbol, unsigned char source[], const in int symbolsize, optionsize, calcsize; int taillength, error_number = 0; int H, W, FH, FW, datablock, bytes, rsblock; - int last_mode; + int last_mode = DM_ASCII; unsigned char *grid = 0; int symbols_left; inputlen = length;