diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSettings.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp index d658e13..a2ad87a 100644 --- a/lldb/source/Commands/CommandObjectSettings.cpp +++ b/lldb/source/Commands/CommandObjectSettings.cpp @@ -161,8 +161,8 @@ insert-before or insert-after."); const char *setting_var_name = request.GetParsedLine().GetArgumentAtIndex(setting_var_idx); Status error; - lldb::OptionValueSP value_sp(GetDebugger().GetPropertyValue( - &m_exe_ctx, setting_var_name, false, error)); + lldb::OptionValueSP value_sp( + GetDebugger().GetPropertyValue(&m_exe_ctx, setting_var_name, error)); if (!value_sp) return; value_sp->AutoComplete(m_interpreter, request); @@ -520,7 +520,6 @@ protected: bool DoExecute(Args &args, CommandReturnObject &result) override { result.SetStatus(eReturnStatusSuccessFinishResult); - const bool will_modify = false; const size_t argc = args.GetArgumentCount(); if (argc > 0) { const bool dump_qualified_name = true; @@ -530,7 +529,7 @@ protected: const Property *property = GetDebugger().GetValueProperties()->GetPropertyAtPath( - &m_exe_ctx, will_modify, property_path); + &m_exe_ctx, property_path); if (property) { property->DumpDescription(m_interpreter, result.GetOutputStream(), 0, |