aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/chroot
diff options
context:
space:
mode:
authorD G Turner2017-01-12 08:22:40 +0000
committerD G Turner2017-01-12 08:22:40 +0000
commitadbf18abca0d6a43830645ab0d8ce492bbbd4971 (patch)
tree60f64382d27a1fcede127c89c2fdd868007c3d58 /backends/fs/chroot
parent6c4b89e6dc439299af68afaa75b366e4aece45c9 (diff)
downloadscummvm-rg350-adbf18abca0d6a43830645ab0d8ce492bbbd4971.tar.gz
scummvm-rg350-adbf18abca0d6a43830645ab0d8ce492bbbd4971.tar.bz2
scummvm-rg350-adbf18abca0d6a43830645ab0d8ce492bbbd4971.zip
BACKENDS: Fix Shadowing Compiler Warning for isDirectory symbol.
This should ensure that any future cut-and-paste for new backends do not repeat this same warning issue.
Diffstat (limited to 'backends/fs/chroot')
-rw-r--r--backends/fs/chroot/chroot-fs.cpp2
-rw-r--r--backends/fs/chroot/chroot-fs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/fs/chroot/chroot-fs.cpp b/backends/fs/chroot/chroot-fs.cpp
index be6805bbd8..ac7cde3398 100644
--- a/backends/fs/chroot/chroot-fs.cpp
+++ b/backends/fs/chroot/chroot-fs.cpp
@@ -108,7 +108,7 @@ Common::WriteStream *ChRootFilesystemNode::createWriteStream() {
return _realNode->createWriteStream();
}
-bool ChRootFilesystemNode::create(bool /*isDir*/) {
+bool ChRootFilesystemNode::create(bool isDirectoryFlag) {
error("Not supported");
return false;
}
diff --git a/backends/fs/chroot/chroot-fs.h b/backends/fs/chroot/chroot-fs.h
index e0ecc1c47e..76902bc92a 100644
--- a/backends/fs/chroot/chroot-fs.h
+++ b/backends/fs/chroot/chroot-fs.h
@@ -49,7 +49,7 @@ public:
virtual Common::SeekableReadStream *createReadStream();
virtual Common::WriteStream *createWriteStream();
- virtual bool create(bool isDirectory);
+ virtual bool create(bool isDirectoryFlag);
private:
static Common::String addPathComponent(const Common::String &path, const Common::String &component);