mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
s4/torture/gentest: explain seemingly redundant initialisation
It seems silly, but it confused me. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
b5a728e81e
commit
58011bc64a
@ -3051,6 +3051,7 @@ static int run_test(struct tevent_context *ev, struct loadparm_context *lp_ctx)
|
||||
memset(open_handles, 0, options.max_open_handles * sizeof(open_handles[0]));
|
||||
num_open_handles = 0;
|
||||
|
||||
/* reset the counts from previous runs */
|
||||
for (i=0;i<ARRAY_SIZE(gen_ops);i++) {
|
||||
gen_ops[i].count = 0;
|
||||
gen_ops[i].success_count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user