AMIGAOS4: Allow getParent() to work for non-directories

This commit is contained in:
Willem Jan Palenstijn
2014-01-22 22:54:14 +01:00
parent 58aaef33c1
commit d32816c027
-6
View File
@@ -306,12 +306,6 @@ bool AmigaOSFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b
AbstractFSNode *AmigaOSFilesystemNode::getParent() const {
ENTER();
if (!_bIsDirectory) {
debug(6, "Not a directory");
LEAVE();
return 0;
}
if (_pFileLock == 0) {
debug(6, "Root node");
LEAVE();