]> git.feebdaed.xyz Git - 0xmirror/git.git/commit
cocci: use MEMZERO_ARRAY() a bit more
authorJunio C Hamano <gitster@pobox.com>
Sat, 13 Dec 2025 01:46:28 +0000 (10:46 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sat, 13 Dec 2025 01:47:59 +0000 (10:47 +0900)
commit8ea9492cf3505c379d1c573b02db90e6b480cc75
treecc5ae6566869590cc1946d50314422a16347ae75
parentd2e4099968ca1cd6b31b0516cdbafa0520674a8e
cocci: use MEMZERO_ARRAY() a bit more

Existing code in files that have been fairly stable trigger the
"make coccicheck" suggestions due to the new check.

Rewrite them to use MEMZERO_ARRAY()

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-delta.c
linear-assignment.c
shallow.c