mirror of
https://git.code.sf.net/p/zint/code
synced 2026-05-14 18:13:53 +00:00
general: suppress clang-tidy-21/22 warnings;
some code fiddling on affected files manual: use new lua filter "lua-crossrefs.lua" hacked from https://github.com/rnwst/pandoc-lua-crossrefs as replacement for tablenos which broke with pandoc 2.8.2 (get nicer output anyway); fix "excode39.svg" data $ -> # to avoid shell processing; document `ZBarcode_HaveGS1SyntaxEngine()`
This commit is contained in:
@@ -1395,6 +1395,8 @@ static int pdf_enc(struct zint_symbol *symbol, struct zint_seg segs[], const int
|
||||
|
||||
if (debug_print) printf("\nSymbol size:\n%d columns x %d rows\n", cols, rows);
|
||||
|
||||
assert(cols > 0); /* Suppress clang-tidy-21 clang-analyzer-security.ArrayBound */
|
||||
|
||||
/* 818 - The CW string is finished */
|
||||
c1 = (rows - 1) / 3;
|
||||
c2 = ecc * 3 + (rows - 1) % 3;
|
||||
|
||||
Reference in New Issue
Block a user