Skip to content
Permalink
Browse files

POSIX: Fix compiler warning

  • Loading branch information...
jepael authored and bgK committed Nov 9, 2019
1 parent 3b1c928 commit 843e0f6a4b23e5d92b38d8a358331491b6f003b5
Showing with 3 additions and 3 deletions.
  1. +2 −2 backends/fs/posix-drives/posix-drives-fs.cpp
  2. +1 −1 backends/fs/posix-drives/posix-drives-fs.h
@@ -53,7 +53,7 @@ DrivePOSIXFilesystemNode::DrivePOSIXFilesystemNode(const DrivesArray &drives) :
_isValid = false;
}

DrivePOSIXFilesystemNode *DrivePOSIXFilesystemNode::getChildWithKnownType(const Common::String &n, bool isDirectory) const {
DrivePOSIXFilesystemNode *DrivePOSIXFilesystemNode::getChildWithKnownType(const Common::String &n, bool isDirectoryFlag) const {
assert(_isDirectory);

// Make sure the string contains no slashes
@@ -68,7 +68,7 @@ DrivePOSIXFilesystemNode *DrivePOSIXFilesystemNode::getChildWithKnownType(const
child->_path = newPath;
child->_isValid = true;
child->_isPseudoRoot = false;
child->_isDirectory = isDirectory;
child->_isDirectory = isDirectoryFlag;
child->_displayName = n;

return child;
@@ -50,7 +50,7 @@ class DrivePOSIXFilesystemNode : public POSIXFilesystemNode {
bool _isPseudoRoot;
const DrivesArray &_drives;

DrivePOSIXFilesystemNode *getChildWithKnownType(const Common::String &n, bool isDirectory) const;
DrivePOSIXFilesystemNode *getChildWithKnownType(const Common::String &n, bool isDirectoryFlag) const;
bool isDrive(const Common::String &path) const;
};

0 comments on commit 843e0f6

Please sign in to comment.
You can’t perform that action at this time.