From 33478058c78e4c4a384cad2fbe8198b4a4aed101 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 9 Apr 2013 11:02:58 -0700 Subject: Remove unneeded initializations (we already talloc_zero). Signed-off-by: Jeremy Allison Reviewed-by: Andreas Schneider --- source3/modules/vfs_dirsort.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/modules/vfs_dirsort.c') diff --git a/source3/modules/vfs_dirsort.c b/source3/modules/vfs_dirsort.c index 53770ec177..64d74d5796 100644 --- a/source3/modules/vfs_dirsort.c +++ b/source3/modules/vfs_dirsort.c @@ -128,9 +128,6 @@ static 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 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 */ -- cgit