* fhandler_disk_file.cc (fhandler_disk_file::readdir_9x): Remove

useless code.
This commit is contained in:
Corinna Vinschen 2006-02-05 18:11:03 +00:00
parent d795c9c9f4
commit 0913522dbd
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2006-02-05 Christopher Faylor <cgf@timesys.com>
Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::readdir_9x): Remove
useless code.
2006-02-05 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Remove label

View File

@ -1715,11 +1715,6 @@ fhandler_disk_file::readdir_9x (DIR *dir, dirent *de)
goto out;
}
}
else if (dir->__handle == INVALID_HANDLE_VALUE)
{
res = EBADF; /* FIXME: Isn't this just a case of repeated reading beyond EOF? */
goto out;
}
else
ret = FindNextFileA (dir->__handle, &buf);