summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBFrame.cpp
diff options
context:
space:
mode:
authorSlava Gurevich <sgurevich@gmail.com>2022-08-01 12:36:38 -0700
committerSlava Gurevich <sgurevich@gmail.com>2022-08-02 10:09:45 -0700
commitd735307aa2be0ebcc37ddd8d4268635dcd1e9d4e (patch)
treebb88bc62943a33bdc3ef5429787dcb37db4de025 /lldb/source/API/SBFrame.cpp
parent85a6dd50adb22207a67619ff4fedcc4f48d021cb (diff)
[LLDB][Reliability] Remove dead code.
Remove redundant code that can never execute due to preceeding logic checks in the code. Differential Revision: https://reviews.llvm.org/D130929
Diffstat (limited to 'lldb/source/API/SBFrame.cpp')
-rw-r--r--lldb/source/API/SBFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp
index ea9c2bb747e1..4157c20cbabb 100644
--- a/lldb/source/API/SBFrame.cpp
+++ b/lldb/source/API/SBFrame.cpp
@@ -739,7 +739,7 @@ SBValueList SBFrame::GetVariables(bool arguments, bool locals, bool statics,
lldb::DynamicValueType use_dynamic =
frame->CalculateTarget()->GetPreferDynamicValue();
const bool include_runtime_support_values =
- target ? target->GetDisplayRuntimeSupportValues() : false;
+ target->GetDisplayRuntimeSupportValues();
SBVariablesOptions options;
options.SetIncludeArguments(arguments);