From 942043868c22b8155da3612477b822164c4da7fb Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 15 Jul 2019 13:00:43 +0000 Subject: [PATCH] Fix uninitialized variable analyzer warning. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366062 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/ASTImporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AST/ASTImporter.cpp b/lib/AST/ASTImporter.cpp index 863a1cb0af..8a59c3a769 100644 --- a/lib/AST/ASTImporter.cpp +++ b/lib/AST/ASTImporter.cpp @@ -8075,7 +8075,7 @@ ASTImporter::Import(NestedNameSpecifier *FromNNS) { if (!FromNNS) return nullptr; - NestedNameSpecifier *Prefix; + NestedNameSpecifier *Prefix = nullptr; if (Error Err = importInto(Prefix, FromNNS->getPrefix())) return std::move(Err); -- 2.40.0