Skip to content

Commit 5eff329

Browse files
committed
Remove redundant check (NFC)
(cherry picked from commit 11c2af0)
1 parent dd25fc3 commit 5eff329

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
@@ -271,8 +271,7 @@ UserExpression::Evaluate(ExecutionContext &exe_ctx,
271271
user_expression_sp.reset();
272272

273273
execution_results = lldb::eExpressionParseError;
274-
if (fixed_expression && !fixed_expression->empty() &&
275-
options.GetAutoApplyFixIts()) {
274+
if (!fixed_expression->empty() && options.GetAutoApplyFixIts()) {
276275
const uint64_t max_fix_retries = options.GetRetriesWithFixIts();
277276
for (uint64_t i = 0; i < max_fix_retries; ++i) {
278277
// Try parsing the fixed expression.

0 commit comments

Comments
 (0)