mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-09 09:11:00 +08:00
The CI lint job (cppcheck) failed, which SKIPS the gated make-test job: - pass_parallel.c: emit_config_edge/emit_normal_calls_edge dereference target->id, but emit_service_edge can be reached with target==NULL on the #523 HTTP/ASYNC external-client bypass. cppcheck (ctunullpointer) flagged the potential NULL deref. Guard both emitters — a CONFIGURES/CALLS edge needs a real target. - extract_defs.c: the go.mod require_spec local 'spec' shadowed the CBMLangSpec *spec parameter (cppcheck shadowArgument, treated as error here). Rename to req_spec. Full scripts/lint.sh --ci (clang-format-20 + cppcheck) now passes. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>