aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-02-01 09:49:24 +0000
committerWillem Jan Palenstijn2009-02-01 09:49:24 +0000
commit6abcac40de30bb42a16899b0f0dd7f6332fa736f (patch)
tree87fd7680207ef126b3d7f1e782475ed256f0af0e /backends
parentb1c58328a56a4e5e60e3f2034550bc96763f9c24 (diff)
downloadscummvm-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.cpp8
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);