diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/fs/amigaos4/amigaos4-fs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp index 816fb34679..d517121dc0 100644 --- a/backends/fs/amigaos4/amigaos4-fs.cpp +++ b/backends/fs/amigaos4/amigaos4-fs.cpp @@ -36,7 +36,6 @@ #endif #include "common/util.h" -#include "engines/engine.h" // FIXME: Why is this here???? #include "backends/fs/abstract-fs.h" #include "backends/fs/stdiostream.h" @@ -155,7 +154,7 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode() { AmigaOSFilesystemNode::AmigaOSFilesystemNode(const Common::String &p) { ENTER(); - int len = 0, offset = p.size(); + int offset = p.size(); //assert(offset > 0); @@ -165,7 +164,7 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode(const Common::String &p) { } _sPath = p; - _sDisplayName = lastPathComponent(_sPath); + _sDisplayName = ::lastPathComponent(_sPath); _pFileLock = 0; _bIsDirectory = false; |