diff --git a/backend/qr.c b/backend/qr.c index cae30e9a..7d85b29b 100644 --- a/backend/qr.c +++ b/backend/qr.c @@ -1809,7 +1809,6 @@ static void micro_qr_m1(struct zint_symbol *symbol, char binary_data[]) { bin_append(0, 4, binary_data); } - data_codewords = 3; ecc_codewords = 2; @@ -1888,7 +1887,6 @@ static void micro_qr_m2(struct zint_symbol *symbol, char binary_data[], const in } } - if (ecc_mode == LEVEL_L) { data_codewords = 5; ecc_codewords = 5; @@ -1985,7 +1983,6 @@ static void micro_qr_m3(struct zint_symbol *symbol, char binary_data[], const in bin_append(0, 4, binary_data); } - if (ecc_mode == LEVEL_L) { data_codewords = 11; ecc_codewords = 6; @@ -2089,7 +2086,6 @@ static void micro_qr_m4(struct zint_symbol *symbol, char binary_data[], const in } } - if (ecc_mode == LEVEL_L) { data_codewords = 16; ecc_codewords = 8;