* fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate
compiler warning.
This commit is contained in:
parent
81adfe2862
commit
b4ea313a85
@ -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>
|
2008-05-23 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* path.cc (symlink_info::check): Don't pass EaBuffer to NtCreateFile if
|
* path.cc (symlink_info::check): Don't pass EaBuffer to NtCreateFile if
|
||||||
|
@ -1756,7 +1756,7 @@ fhandler_disk_file::readdir (DIR *dir, dirent *de)
|
|||||||
PFILE_ID_BOTH_DIR_INFORMATION buf = NULL;
|
PFILE_ID_BOTH_DIR_INFORMATION buf = NULL;
|
||||||
PWCHAR FileName;
|
PWCHAR FileName;
|
||||||
ULONG FileNameLength;
|
ULONG FileNameLength;
|
||||||
ULONG FileAttributes;
|
ULONG FileAttributes = 0;
|
||||||
IO_STATUS_BLOCK io;
|
IO_STATUS_BLOCK io;
|
||||||
UNICODE_STRING fname;
|
UNICODE_STRING fname;
|
||||||
|
|
||||||
@ -1859,7 +1859,6 @@ go_ahead:
|
|||||||
{
|
{
|
||||||
FileName = ((PFILE_NAMES_INFORMATION) buf)->FileName;
|
FileName = ((PFILE_NAMES_INFORMATION) buf)->FileName;
|
||||||
FileNameLength = ((PFILE_NAMES_INFORMATION) buf)->FileNameLength;
|
FileNameLength = ((PFILE_NAMES_INFORMATION) buf)->FileNameLength;
|
||||||
FileAttributes = 0;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user