diff options
Diffstat (limited to 'backends/fs')
-rw-r--r-- | backends/fs/windows/windows-fs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index cc778d2df2..e69e72a746 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -220,6 +220,8 @@ bool WindowsFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b } AbstractFSNode *WindowsFilesystemNode::getParent() const { + assert(_isValid || _isPseudoRoot); + if (_isPseudoRoot) return 0; |