mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-28 05:54:19 -04:00
test suite: testcommon.c: NOLINT clang-tidy-20.1.2 false positive
This commit is contained in:
parent
0b7103e21e
commit
8758ebd420
1 changed files with 1 additions and 1 deletions
|
@ -4596,7 +4596,7 @@ int testUtilZXingCPPCmp(struct zint_symbol *symbol, char *msg, char *cmp_buf, in
|
|||
ret_memcmp = memcmp(cmp_buf, expected, expected_len);
|
||||
if (ret_memcmp != 0) {
|
||||
for (i = 0; i < expected_len; i++) {
|
||||
if (cmp_buf[i] != expected[i]) {
|
||||
if (cmp_buf[i] != expected[i]) { /* NOLINT(clang-analyzer-core.UndefinedBinaryOperatorResult) */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue