Repository navigation
Commit 6e2a462
committed
doc-links: lint-ci clean again (seam calls only in seam builds; escape check type)
make -f Makefile.cbm lint-ci failed on code of the checkpoint:
- doc_links_msbuild.c: outside a seam build, msb_fail_value_alloc and
msb_fail_prop_insert were stubs that return false, so cppcheck reported
every condition that calls them as always false or always true
(knownConditionTrueFalse, five sites). The calls are now compiled only
with CBM_ENABLE_TEST_SEAMS, as the layer's other seams are, and the stubs
are gone.
- mcp.c: in one configuration of vendored yyjson.h's fallback typedef chain
cppcheck takes uint32_t for unsigned short and reports the bounds of the
U+E0000 tag block as out of range (compareValueOutOfTypeRangeError). The
preview's escape check takes unsigned long, which the standard makes at
least 32 bits wide.
The product binary is byte-identical before and after.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent 91aa8e2 commit 6e2a462
2 files changed
Lines changed: 25 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6317 | 6317 | | |
6318 | 6318 | | |
6319 | 6319 | | |
6320 | | - | |
| 6320 | + | |
| 6321 | + | |
| 6322 | + | |
| 6323 | + | |
| 6324 | + | |
6321 | 6325 | | |
6322 | 6326 | | |
6323 | 6327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | 500 | | |
507 | 501 | | |
508 | 502 | | |
| |||
710 | 704 | | |
711 | 705 | | |
712 | 706 | | |
713 | | - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
714 | 712 | | |
715 | 713 | | |
716 | 714 | | |
| |||
786 | 784 | | |
787 | 785 | | |
788 | 786 | | |
789 | | - | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
790 | 791 | | |
791 | 792 | | |
792 | 793 | | |
| |||
1354 | 1355 | | |
1355 | 1356 | | |
1356 | 1357 | | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
1360 | 1365 | | |
1361 | 1366 | | |
1362 | 1367 | | |
| |||
1419 | 1424 | | |
1420 | 1425 | | |
1421 | 1426 | | |
| 1427 | + | |
1422 | 1428 | | |
1423 | 1429 | | |
1424 | 1430 | | |
1425 | 1431 | | |
1426 | 1432 | | |
| 1433 | + | |
1427 | 1434 | | |
1428 | 1435 | | |
1429 | 1436 | | |
1430 | 1437 | | |
1431 | 1438 | | |
1432 | 1439 | | |
1433 | 1440 | | |
| 1441 | + | |
1434 | 1442 | | |
1435 | 1443 | | |
1436 | 1444 | | |
1437 | 1445 | | |
| 1446 | + | |
1438 | 1447 | | |
1439 | 1448 | | |
1440 | 1449 | | |
| |||
0 commit comments