summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/modules/vfs_dirsort.c5
1 files changed, 0 insertions, 5 deletions
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 */