From adbf18abca0d6a43830645ab0d8ce492bbbd4971 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 12 Jan 2017 08:22:40 +0000 Subject: 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. --- backends/fs/chroot/chroot-fs.cpp | 2 +- backends/fs/chroot/chroot-fs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/fs/chroot') 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); -- cgit v1.2.3