Skip to content

Commit 47bd3d1

Browse files
committed
[lldb] Remove use of comma operator (NFC)
1 parent 2a244bb commit 47bd3d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/ValueObject/ValueObjectSyntheticFilter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ lldb::ValueObjectSP ValueObjectSynthetic::GetNonSyntheticValue() {
362362
}
363363

364364
void ValueObjectSynthetic::CopyValueData(ValueObject *source) {
365-
m_value = (source->UpdateValueIfNeeded(), source->GetValue());
365+
source->UpdateValueIfNeeded();
366+
m_value = source->GetValue();
366367
ExecutionContext exe_ctx(GetExecutionContextRef());
367368
m_error = m_value.GetValueAsData(&exe_ctx, m_data, GetModule().get());
368369
}

0 commit comments

Comments
 (0)