Missing initialization
Change-Id: I45eabbe9d1a4e3f85f16c2869c4031fc06f5ef31
This commit is contained in:
@@ -43,7 +43,7 @@ bool LiteralToBoolConversion::VisitImplicitCastExpr(
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
Expr const * sub = expr->getSubExpr()->IgnoreParenCasts();
|
Expr const * sub = expr->getSubExpr()->IgnoreParenCasts();
|
||||||
Expr const * expr2;
|
Expr const * expr2 = expr;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
BinaryOperator const * op = dyn_cast<BinaryOperator>(sub);
|
BinaryOperator const * op = dyn_cast<BinaryOperator>(sub);
|
||||||
if (op == nullptr || op->getOpcode() != BO_Comma) {
|
if (op == nullptr || op->getOpcode() != BO_Comma) {
|
||||||
|
Reference in New Issue
Block a user