From: Jeremy Allison Date: Tue, 9 Apr 2013 18:02:58 +0000 (-0700) Subject: Remove unneeded initializations (we already talloc_zero). X-Git-Url: http://git.samba.org/?a=commitdiff_plain;ds=sidebyside;h=8a1ec80ee233405f2f484c31a8d6e4b2702678e0;p=samba.git Remove unneeded initializations (we already talloc_zero). Signed-off-by: Jeremy Allison Reviewed-by: Andreas Schneider --- diff --git a/source3/modules/vfs_dirsort.c b/source3/modules/vfs_dirsort.c index 9b772ccbe58..698e96b309b 100644 --- a/source3/modules/vfs_dirsort.c +++ b/source3/modules/vfs_dirsort.c @@ -128,9 +128,6 @@ static SMB_STRUCT_DIR *dirsort_opendir(vfs_handle_struct *handle, return NULL; } - data->directory_list = NULL; - data->pos = 0; - status = create_synthetic_smb_fname(data, fname, NULL, @@ -175,8 +172,6 @@ static SMB_STRUCT_DIR *dirsort_fdopendir(vfs_handle_struct *handle, return NULL; } - data->directory_list = NULL; - data->pos = 0; data->fsp = fsp; /* Open the underlying directory and count the number of entries */