From ff8d8d3fb1be8765a05697bba305eaa3165179c7 Mon Sep 17 00:00:00 2001 From: Harald Oehlmann Date: Fri, 10 Apr 2020 11:28:45 +0200 Subject: [PATCH] Call to "debug_test_codeword_dump_init" does not resolve without ZINT_TEST defined --- backend/ultra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/ultra.c b/backend/ultra.c index 44c90cc5..e70d5ff9 100644 --- a/backend/ultra.c +++ b/backend/ultra.c @@ -856,10 +856,11 @@ INTERNAL int ultracode(struct zint_symbol *symbol, const unsigned char source[], if (symbol->debug & ZINT_DEBUG_PRINT) { printf("Codewords returned = %d\n", data_cw_count); } +#ifdef ZINT_TEST if (symbol->debug & ZINT_DEBUG_TEST) { debug_test_codeword_dump_int(symbol, data_codewords, data_cw_count); } - +#endif /* Default ECC level is EC2 */ if ((symbol->option_1 <= 0) || (symbol->option_1 > 6)) { ecc_level = 2;