From 7a8cb6cd4e3ff8aaadebff2b9d3ee9e2a326d444 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Markus=20B=C3=B6ck?= Date: Sat, 31 Dec 2022 15:04:31 +0100 Subject: [PATCH] [clang][NFC] Fix warning due to initializing a pointer with `false` --- clang/lib/Sema/SemaInit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp index efc3274..d6ca637 100644 --- a/clang/lib/Sema/SemaInit.cpp +++ b/clang/lib/Sema/SemaInit.cpp @@ -9150,7 +9150,7 @@ ExprResult InitializationSequence::Perform(Sema &S, break; } case SK_ParenthesizedListInit: { - CurInit = false; + CurInit = nullptr; TryOrBuildParenListInitialization(S, Entity, Kind, Args, *this, /*VerifyOnly=*/false, &CurInit); if (CurInit.get() && ResultType) -- 2.7.4