* fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate

compiler warning.
This commit is contained in:
Corinna Vinschen 2008-05-23 10:01:34 +00:00
parent 81adfe2862
commit b4ea313a85
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-05-22 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate
compiler warning.
2008-05-23 Christopher Faylor <me+cygwin@cgf.cx>
* path.cc (symlink_info::check): Don't pass EaBuffer to NtCreateFile if

View File

@ -1756,7 +1756,7 @@ fhandler_disk_file::readdir (DIR *dir, dirent *de)
PFILE_ID_BOTH_DIR_INFORMATION buf = NULL;
PWCHAR FileName;
ULONG FileNameLength;
ULONG FileAttributes;
ULONG FileAttributes = 0;
IO_STATUS_BLOCK io;
UNICODE_STRING fname;
@ -1859,7 +1859,6 @@ go_ahead:
{
FileName = ((PFILE_NAMES_INFORMATION) buf)->FileName;
FileNameLength = ((PFILE_NAMES_INFORMATION) buf)->FileNameLength;
FileAttributes = 0;
}
else
{