Author: jra Date: 2005-03-17 01:02:30 +0000 (Thu, 17 Mar 2005) New Revision: 5843
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5843 Log: Removed unused variable - pointed out by [EMAIL PROTECTED] in bugid #2460. Jeremy. Modified: branches/SAMBA_3_0/source/smbd/dir.c Changeset: Modified: branches/SAMBA_3_0/source/smbd/dir.c =================================================================== --- branches/SAMBA_3_0/source/smbd/dir.c 2005-03-17 01:02:29 UTC (rev 5842) +++ branches/SAMBA_3_0/source/smbd/dir.c 2005-03-17 01:02:30 UTC (rev 5843) @@ -594,10 +594,8 @@ 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; }