From a9bef1051ec7471a277a2f4300c7165fc6ace4a9 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 5 Aug 2008 11:42:04 +0000 Subject: Remove file attribute check, since getChild() can be called on file path that doesn'r exist. svn-id: r33633 --- backends/fs/windows/windows-fs.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'backends') diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index ac2f521e21..77530c6073 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -260,11 +260,6 @@ AbstractFilesystemNode *WindowsFilesystemNode::getChild(const String &n) const { newPath += '\\'; newPath += n; - // Check whether the directory actually exists - DWORD fileAttribs = GetFileAttributes(toUnicode(newPath.c_str())); - if (fileAttribs == INVALID_FILE_ATTRIBUTES) - return 0; - return new WindowsFilesystemNode(newPath, false); } -- cgit v1.2.3