diff options
author | Willem Jan Palenstijn | 2009-02-01 09:49:24 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-02-01 09:49:24 +0000 |
commit | 6abcac40de30bb42a16899b0f0dd7f6332fa736f (patch) | |
tree | 87fd7680207ef126b3d7f1e782475ed256f0af0e /backends | |
parent | b1c58328a56a4e5e60e3f2034550bc96763f9c24 (diff) | |
download | scummvm-rg350-6abcac40de30bb42a16899b0f0dd7f6332fa736f.tar.gz scummvm-rg350-6abcac40de30bb42a16899b0f0dd7f6332fa736f.tar.bz2 scummvm-rg350-6abcac40de30bb42a16899b0f0dd7f6332fa736f.zip |
don't test existence of file in AmigaOSFilesystemNode::getChild (bug #2487481)
svn-id: r36171
Diffstat (limited to 'backends')
-rw-r--r-- | backends/fs/amigaos4/amigaos4-fs.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp index db6abcd2f6..7f1e01dcb9 100644 --- a/backends/fs/amigaos4/amigaos4-fs.cpp +++ b/backends/fs/amigaos4/amigaos4-fs.cpp @@ -316,14 +316,6 @@ AbstractFSNode *AmigaOSFilesystemNode::getChild(const Common::String &n) const { newPath += '/'; newPath += n; - BPTR lock = IDOS->Lock(newPath.c_str(), SHARED_LOCK); - - if (!lock) { - debug(6, "Bad path"); - return 0; - } - - IDOS->UnLock(lock); LEAVE(); return new AmigaOSFilesystemNode(newPath); |