diff options
author | Jim Ingham <jingham@apple.com> | 2018-03-13 21:06:05 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2018-03-13 21:06:05 +0000 |
commit | ca38766c9c50da3b310c9a1c07adff392ce6b2e4 (patch) | |
tree | d4a9a6bd8b78a272dfe7021088274c4c377c8615 /lldb/source/API/SBPlatform.cpp | |
parent | 0805b80a73687c02884898647f34cd87e0edf9a4 (diff) | |
download | bcm5719-llvm-ca38766c9c50da3b310c9a1c07adff392ce6b2e4.tar.gz bcm5719-llvm-ca38766c9c50da3b310c9a1c07adff392ce6b2e4.zip |
Add a missing return in SBPlatform::IsConnected and test
for the behavior - using the fact that the Host platform
is always present & connected.
llvm-svn: 327448
Diffstat (limited to 'lldb/source/API/SBPlatform.cpp')
-rw-r--r-- | lldb/source/API/SBPlatform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBPlatform.cpp b/lldb/source/API/SBPlatform.cpp index d7715e44e46..ef06dd21834 100644 --- a/lldb/source/API/SBPlatform.cpp +++ b/lldb/source/API/SBPlatform.cpp @@ -271,7 +271,7 @@ void SBPlatform::DisconnectRemote() { bool SBPlatform::IsConnected() { PlatformSP platform_sp(GetSP()); if (platform_sp) - platform_sp->IsConnected(); + return platform_sp->IsConnected(); return false; } |