Skip to content

Commit be8886f

Browse files
mmhaerichkeane
andauthored
Update clang/lib/CIR/CodeGen/CIRGenExpr.cpp
Co-authored-by: Erich Keane <ekeane@nvidia.com>
1 parent 09763c1 commit be8886f

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
@@ -955,7 +955,7 @@ void CIRGenFunction::emitIgnoredExpr(const Expr *e) {
955955
static std::optional<LValue> handleConditionalOperatorLValueSimpleCase(
956956
CIRGenFunction &cgf, const AbstractConditionalOperator *e) {
957957
const Expr *condExpr = e->getCond();
958-
bool condExprBool;
958+
bool condExprBool = false;
959959
if (cgf.constantFoldsToSimpleInteger(condExpr, condExprBool)) {
960960
const Expr *live = e->getTrueExpr(), *dead = e->getFalseExpr();
961961
if (!condExprBool)

0 commit comments

Comments
 (0)