Closed v1otusc closed 1 year ago
Can you explain where this is duplicated? zhash_t *zh
is initialised just before this. Also, the commit message is not very explanatory.
It's duplicated in L82 just above the fold, so this is correct. Unclear whether to remove L87 as proposed or alternatively L82 since the allocation related to nentries happens in L86 so it would be 'closer together'.
It's duplicated in L82 just above the fold, so this is correct.
Right. I opened the file on GitHub with this change already applied.
Unclear whether to remove L87 as proposed or alternatively L82 since the allocation related to nentries happens in L86 so it would be 'closer together'.
We should remove L87 as suggested. Removing L82 would assume 0 for zh->nentries
in the allocation at L86.
Duplicate definitions of zhash->nentries