Files
codebase-memory-mcp/src
Martin Vogel e47d932c89 chore(lint): compose Windows file times without ULARGE_INTEGER
make lint-ci was red on this branch before any of the rebase work.

cppcheck reported all four halves of two ULARGE_INTEGER values in
cbm_path_info_utf8 as assigned-but-never-read. The code is correct -- it is a
union, and .QuadPart reads exactly what .LowPart/.HighPart wrote -- but cppcheck
does not model that aliasing, so it cannot see the read.

Composing the two 64-bit values arithmetically says the same thing without the
union, so the checker needs no exception. That is the repository's stated
preference: refactor first, adjust the rule second, suppress only as a rare
justified exception -- and a suppression here would have to be re-justified by
every future reader.

Also applies clang-format to the lines this rebase touched in pipeline.c and
extract_usages.c, plus one pre-existing violation in pipeline_incremental.c.
Formatting only; the file set is limited to what LINT_SRCS/LINT_HDRS actually
covers, so no unrelated whole-file reflow rides along.

make -f Makefile.cbm lint-ci: passes.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-08-02 16:05:25 +02:00
..
2026-07-31 11:02:01 +03:00