Remove file attribute check, since getChild() can be called on file path that doesn'r exist.

svn-id: r33633
This commit is contained in:
Travis Howell 2008-08-05 11:42:04 +00:00
parent b89c9c9b89
commit a9bef1051e

View File

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