Skip to content

Commit 11c2af0

Browse files
committed
Remove redundant check (NFC)
1 parent 8b62429 commit 11c2af0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Expression/UserExpression.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,7 @@ UserExpression::Evaluate(ExecutionContext &exe_ctx,
263263
user_expression_sp.reset();
264264

265265
execution_results = lldb::eExpressionParseError;
266-
if (fixed_expression && !fixed_expression->empty() &&
267-
options.GetAutoApplyFixIts()) {
266+
if (!fixed_expression->empty() && options.GetAutoApplyFixIts()) {
268267
const uint64_t max_fix_retries = options.GetRetriesWithFixIts();
269268
for (uint64_t i = 0; i < max_fix_retries; ++i) {
270269
// Try parsing the fixed expression.

0 commit comments

Comments
 (0)