summaryrefslogtreecommitdiffstats
path: root/source3/utils/debugparse.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-12-11 09:34:47 +0100
committerMichael Adam <obnox@samba.org>2013-12-11 17:54:22 +0100
commit71318d7d685f8e1e112076f84ef2d788acb83547 (patch)
tree9b82bb389b316bc90fe7ed599bcbd7c2199b8278 /source3/utils/debugparse.c
parent5aade722cc56ae0d9388dbc4d061c99ebde05214 (diff)
shadow_copy2: revert expensive and unnecessary zero-initialization
I was being overly cautious. This is initialization is not necessary, since further down in the for-loop, the memory always gets fully initialized because the insert string is inserted at various slash positions. So this talloc_zero_array can be skipped: this an expensive thing to do in virtually every VFS call. This essentially reverts commit 249e9b4a34d8959bd94735c1921ecfc24d6a2705. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/utils/debugparse.c')
0 files changed, 0 insertions, 0 deletions