1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r5843: Removed unused variable - pointed out by jason@ncac.gwu.edu in bugid #2460.

Jeremy.
This commit is contained in:
Jeremy Allison
2005-03-17 01:02:30 +00:00
committed by Gerald (Jerry) Carter
parent d53b5891a7
commit 1f988333ec

View File

@ -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;
}