mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 02:17:06 +00:00
CODABLOCKF: suppress clang-tidy-20 warning
clang-analyzer-core.UndefinedBinaryOperatorResult
This commit is contained in:
@@ -812,6 +812,7 @@ INTERNAL int codablockf(struct zint_symbol *symbol, unsigned char source[], int
|
||||
SumASCII(&pOutPos, Sum1, characterSetCur);
|
||||
SumASCII(&pOutPos, Sum2, characterSetCur);
|
||||
}
|
||||
assert(columns * rowCur + useColumns + 3 == (int) (pOutPos - pOutput)); /* Suppress clang-tidy warning */
|
||||
/* Add Code 128 checksum */
|
||||
{
|
||||
int Sum = pOutput[columns * rowCur] % 103;
|
||||
|
||||
Reference in New Issue
Block a user