Skip to content

Commit 028546c

Browse files
committed
Simplify condition (NFC)
1 parent 869ffcf commit 028546c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Expression/UserExpression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ UserExpression::Evaluate(ExecutionContext &exe_ctx,
242242
// If the language was not specified in the expression command, set it to the
243243
// language in the target's properties if specified, else default to the
244244
// langage for the frame.
245-
if (!language.name) {
245+
if (!language) {
246246
if (target->GetLanguage() != lldb::eLanguageTypeUnknown)
247247
language = target->GetLanguage();
248248
else if (StackFrame *frame = exe_ctx.GetFramePtr())

0 commit comments

Comments
 (0)