forked from OSchip/llvm-project
ScalarExprEmitter::EmitCompoundAssign - fix uninitialized variable warning. NFCI.
llvm-svn: 361098
This commit is contained in:
parent
3e95568dcf
commit
30aa42e145
|
@ -2984,7 +2984,7 @@ LValue ScalarExprEmitter::EmitCompoundAssignLValue(
|
|||
Value *ScalarExprEmitter::EmitCompoundAssign(const CompoundAssignOperator *E,
|
||||
Value *(ScalarExprEmitter::*Func)(const BinOpInfo &)) {
|
||||
bool Ignore = TestAndClearIgnoreResultAssign();
|
||||
Value *RHS;
|
||||
Value *RHS = nullptr;
|
||||
LValue LHS = EmitCompoundAssignLValue(E, Func, RHS);
|
||||
|
||||
// If the result is clearly ignored, return now.
|
||||
|
|
Loading…
Reference in New Issue