summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBFrame.cpp')
-rw-r--r--lldb/source/API/SBFrame.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp
index bfa4621f591..6a28ef6cc60 100644
--- a/lldb/source/API/SBFrame.cpp
+++ b/lldb/source/API/SBFrame.cpp
@@ -1084,7 +1084,6 @@ lldb::SBValue SBFrame::EvaluateExpression(const char *expr,
Log *expr_log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_EXPRESSIONS));
#endif
- ExpressionResults exe_results = eExpressionSetupError;
SBValue expr_result;
if (expr == nullptr || expr[0] == '\0') {
@@ -1117,8 +1116,7 @@ lldb::SBValue SBFrame::EvaluateExpression(const char *expr,
frame_description.GetData());
}
- exe_results = target->EvaluateExpression(expr, frame, expr_value_sp,
- options.ref());
+ target->EvaluateExpression(expr, frame, expr_value_sp, options.ref());
expr_result.SetSP(expr_value_sp, options.GetFetchDynamicValue());
}
}
OpenPOWER on IntegriCloud