Commit 4706f3be authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

Fix uninitialized variable warnings. NFCI.

llvm-svn: 374876
parent 095531ea
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2579,10 +2579,10 @@ ExpectedDecl ASTNodeImporter::VisitRecordDecl(RecordDecl *D) {
  }

  // Import the major distinguishing characteristics of this record.
  DeclContext *DC, *LexicalDC;
  DeclContext *DC = nullptr, *LexicalDC = nullptr;
  DeclarationName Name;
  SourceLocation Loc;
  NamedDecl *ToD;
  NamedDecl *ToD = nullptr;
  if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
    return std::move(Err);
  if (ToD)