summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-04-09 11:02:58 -0700
committerJeremy Allison <jra@samba.org>2013-04-11 09:49:42 -0700
commit33478058c78e4c4a384cad2fbe8198b4a4aed101 (patch)
treed2837af6d2180df4f11f0e5fe3f25160b407e5fc /source3/modules
parent353718c3f9fa49f6c3b5d6de2afd79fbfade4295 (diff)
downloadsamba-33478058c78e4c4a384cad2fbe8198b4a4aed101.tar.gz
samba-33478058c78e4c4a384cad2fbe8198b4a4aed101.tar.bz2
samba-33478058c78e4c4a384cad2fbe8198b4a4aed101.zip
Remove unneeded initializations (we already talloc_zero).
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/modules')
-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 */