diff options
author | Travis Howell | 2008-08-05 11:42:04 +0000 |
---|---|---|
committer | Travis Howell | 2008-08-05 11:42:04 +0000 |
commit | a9bef1051ec7471a277a2f4300c7165fc6ace4a9 (patch) | |
tree | 6cf4170e5438558ae6340fe152d27e0fb62f0726 | |
parent | b89c9c9b89a9ae21a5e0ebcf5db7d0d014062ad4 (diff) | |
download | scummvm-rg350-a9bef1051ec7471a277a2f4300c7165fc6ace4a9.tar.gz scummvm-rg350-a9bef1051ec7471a277a2f4300c7165fc6ace4a9.tar.bz2 scummvm-rg350-a9bef1051ec7471a277a2f4300c7165fc6ace4a9.zip |
Remove file attribute check, since getChild() can be called on file path that doesn'r exist.
svn-id: r33633
-rw-r--r-- | backends/fs/windows/windows-fs.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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); } |