Author: jra
Date: 2005-03-17 01:02:29 +0000 (Thu, 17 Mar 2005)
New Revision: 5842

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5842

Log:
Removed unused variable - pointed out by [EMAIL PROTECTED] in bugid #2460.
Jeremy.

Modified:
   trunk/source/smbd/dir.c


Changeset:
Modified: trunk/source/smbd/dir.c
===================================================================
--- trunk/source/smbd/dir.c     2005-03-17 00:37:43 UTC (rev 5841)
+++ trunk/source/smbd/dir.c     2005-03-17 01:02:29 UTC (rev 5842)
@@ -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;
                }

Reply via email to