WIN32: Fix getting the parent directory of non-existant file nodes

This commit is contained in:
Cameron Cawley 2019-09-14 17:21:14 +01:00 committed by Filippos Karapetis
parent e00b2064a5
commit e55e429353

View File

@ -220,8 +220,6 @@ bool WindowsFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b
}
AbstractFSNode *WindowsFilesystemNode::getParent() const {
assert(_isValid || _isPseudoRoot);
if (_isPseudoRoot)
return 0;