From b934ed7dd6351404d375af2f996af8a49ea36c7b Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Fri, 4 Mar 2022 13:36:36 -0800 Subject: [PATCH] revert "[lldb/Host] Fix crash in FileSystem::IsLocal" This reverts commit 2dc6e906b09deb092c15a726c06d0ecbeec1eb18 following changes introduced in 59eb70527741594fe3c92d0a1b6704ed45111437. --- lldb/source/Host/common/FileSystem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/source/Host/common/FileSystem.cpp b/lldb/source/Host/common/FileSystem.cpp index 2367a641e935..358274e9d2fb 100644 --- a/lldb/source/Host/common/FileSystem.cpp +++ b/lldb/source/Host/common/FileSystem.cpp @@ -171,8 +171,7 @@ bool FileSystem::IsDirectory(const FileSpec &file_spec) const { bool FileSystem::IsLocal(const Twine &path) const { bool b = false; - if (m_fs) - m_fs->isLocal(path, b); + m_fs->isLocal(path, b); return b; }