mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-12-05 04:47:43 +08:00
cppcheck 2.20 in CI (x86_64) reports the name comparison in collapse()'s
duplicate-node loop as knownConditionTrueFalse ("always false") on main
5d4b50fe. It is a false positive: the loop compares s->v[i] with s->v[0]
for i >= 1, two different nodes. Neither the arm64 lint image nor a
--platform=unix64 whole-tree run reproduces it, so it is CI-only.
The file/line/name comparison moves into a same_definition() helper.
Behaviour is unchanged: the same three fields, the same NULL-as-empty
handling; doc-link suites 56 passed.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>