diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-02-13 13:39:24 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-13 13:39:24 -0800 |
| commit | b8524125239a2dd9bbc2bc87deda475f9cc3580e (patch) | |
| tree | 4bdd70670cbaf567ae2ab3ef4d749a5b298d897f /diffcore-delta.c | |
| parent | 453e7b744aef0d9dab62dac6ab030bb643a2e117 (diff) | |
| parent | 60614838a44591c1449f939236f396bb7164b5ef (diff) | |
| download | git-b8524125239a2dd9bbc2bc87deda475f9cc3580e.tar.xz | |
Merge branch 'tc/memzero-array'
Coccinelle rules update.
* tc/memzero-array:
cocci: extend MEMZERO_ARRAY() rules
Diffstat (limited to 'diffcore-delta.c')
| -rw-r--r-- | diffcore-delta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diffcore-delta.c b/diffcore-delta.c index 2de9e9ccff..2b7db39983 100644 --- a/diffcore-delta.c +++ b/diffcore-delta.c @@ -135,7 +135,7 @@ static struct spanhash_top *hash_chars(struct repository *r, st_mult(sizeof(struct spanhash), (size_t)1 << i))); hash->alloc_log2 = i; hash->free = INITIAL_FREE(i); - MEMZERO_ARRAY(hash->data, ((size_t)1 << i)); + MEMZERO_ARRAY(hash->data, (size_t)1 << i); n = 0; accum1 = accum2 = 0; |
