Skip to content

Commit b934ed7

Browse files
committed
revert "[lldb/Host] Fix crash in FileSystem::IsLocal"
This reverts commit 2dc6e90 following changes introduced in 59eb705.
1 parent 680ca7f commit b934ed7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Host/common/FileSystem.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ bool FileSystem::IsDirectory(const FileSpec &file_spec) const {
171171

172172
bool FileSystem::IsLocal(const Twine &path) const {
173173
bool b = false;
174-
if (m_fs)
175-
m_fs->isLocal(path, b);
174+
m_fs->isLocal(path, b);
176175
return b;
177176
}
178177

0 commit comments

Comments
 (0)