mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-24 20:14:28 -04:00
Call to "debug_test_codeword_dump_init" does not resolve without ZINT_TEST defined
This commit is contained in:
parent
e04f662dc0
commit
ff8d8d3fb1
1 changed files with 2 additions and 1 deletions
|
@ -856,10 +856,11 @@ INTERNAL int ultracode(struct zint_symbol *symbol, const unsigned char source[],
|
||||||
if (symbol->debug & ZINT_DEBUG_PRINT) {
|
if (symbol->debug & ZINT_DEBUG_PRINT) {
|
||||||
printf("Codewords returned = %d\n", data_cw_count);
|
printf("Codewords returned = %d\n", data_cw_count);
|
||||||
}
|
}
|
||||||
|
#ifdef ZINT_TEST
|
||||||
if (symbol->debug & ZINT_DEBUG_TEST) {
|
if (symbol->debug & ZINT_DEBUG_TEST) {
|
||||||
debug_test_codeword_dump_int(symbol, data_codewords, data_cw_count);
|
debug_test_codeword_dump_int(symbol, data_codewords, data_cw_count);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
/* Default ECC level is EC2 */
|
/* Default ECC level is EC2 */
|
||||||
if ((symbol->option_1 <= 0) || (symbol->option_1 > 6)) {
|
if ((symbol->option_1 <= 0) || (symbol->option_1 > 6)) {
|
||||||
ecc_level = 2;
|
ecc_level = 2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue