diff options
author | Jeremy Allison <jra@samba.org> | 2005-03-17 01:02:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:05 -0500 |
commit | ee804161aae672a1e46d46bcbbc49fd453616bb7 (patch) | |
tree | c2977f936fcec372b6d99f38b50470d5651953f2 | |
parent | 3fc141baace52635dd5757f6b9d997c37f87deca (diff) | |
download | samba-ee804161aae672a1e46d46bcbbc49fd453616bb7.tar.gz samba-ee804161aae672a1e46d46bcbbc49fd453616bb7.tar.bz2 samba-ee804161aae672a1e46d46bcbbc49fd453616bb7.zip |
r5843: Removed unused variable - pointed out by jason@ncac.gwu.edu in bugid #2460.
Jeremy.
(This used to be commit 1f988333ecaedfb21a8deee6eebb9bd4de91bfd6)
-rw-r--r-- | source3/smbd/dir.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index d9fd382d52..db16b8a6e0 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -594,10 +594,8 @@ const char *dptr_ReadDirName(struct dptr_struct *dptr, long *poffset, SMB_STRUCT BOOL dptr_SearchDir(struct dptr_struct *dptr, const char *name, long *poffset, SMB_STRUCT_STAT *pst) { - BOOL ret; - ZERO_STRUCTP(pst); - while ((ret = SearchDir(dptr->dir_hnd, name, poffset)) == True) { + while (SearchDir(dptr->dir_hnd, name, poffset) == True) { if (is_visible_file(dptr->conn, dptr->path, name, pst, True)) { return True; } |