Skip to content

Commit 0c5474f

Browse files
mmhaerichkeane
andcommitted
Update clang/lib/CIR/CodeGen/CIRGenExpr.cpp
Co-authored-by: Erich Keane <[email protected]>
1 parent 66cea1e commit 0c5474f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ Address CIRGenFunction::emitArrayToPointerDecay(const Expr *e) {
12021202
static std::optional<LValue> handleConditionalOperatorLValueSimpleCase(
12031203
CIRGenFunction &cgf, const AbstractConditionalOperator *e) {
12041204
const Expr *condExpr = e->getCond();
1205-
bool condExprBool;
1205+
bool condExprBool = false;
12061206
if (cgf.constantFoldsToSimpleInteger(condExpr, condExprBool)) {
12071207
const Expr *live = e->getTrueExpr(), *dead = e->getFalseExpr();
12081208
if (!condExprBool)

0 commit comments

Comments
 (0)