mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
POSIX: Fix compiler warning
This commit is contained in:
parent
3b1c928f52
commit
843e0f6a4b
@ -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 @@ private:
|
||||
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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user