summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-04-09 11:02:58 -0700
committerKarolin Seeger <kseeger@samba.org>2013-04-17 08:57:04 +0200
commit2870ba20d69abec387cbbfe4f8c97ed3fdcdb44f (patch)
tree2f9a415619f6e056ca2f71a8b54cf5a230012775
parenta6772469a42db5f8a7a0bd2d4787bd4a07cfc1ef (diff)
downloadsamba-2870ba20d69abec387cbbfe4f8c97ed3fdcdb44f.tar.gz
Remove unneeded initializations (we already talloc_zero).
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
-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 53770ec177e..64d74d57964 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 */