Skip to content

Commit 7a8cb6c

Browse files
committed
[clang][NFC] Fix warning due to initializing a pointer with false
1 parent cd16a3f commit 7a8cb6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaInit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9150,7 +9150,7 @@ ExprResult InitializationSequence::Perform(Sema &S,
91509150
break;
91519151
}
91529152
case SK_ParenthesizedListInit: {
9153-
CurInit = false;
9153+
CurInit = nullptr;
91549154
TryOrBuildParenListInitialization(S, Entity, Kind, Args, *this,
91559155
/*VerifyOnly=*/false, &CurInit);
91569156
if (CurInit.get() && ResultType)

0 commit comments

Comments
 (0)