From 0bbf306af5aae08265be4302626f3c72912feab3 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 9 Apr 2013 11:02:58 -0700 Subject: [PATCH] Remove unneeded initializations (we already talloc_zero). Signed-off-by: Jeremy Allison Reviewed-by: Andreas Schneider (cherry picked from commit 8a1ec80ee233405f2f484c31a8d6e4b2702678e0) --- source3/modules/vfs_dirsort.c | 5 ----- 1 file changed, 5 deletions(-) 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 */ -- 2.11.4.GIT