summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBPlatform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBPlatform.cpp')
-rw-r--r--lldb/source/API/SBPlatform.cpp2
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;
}
OpenPOWER on IntegriCloud