From 64b024a57c56c3528d6be3d14be5e3da42614a6f Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Mon, 21 Oct 2019 09:35:34 +0000 Subject: [LLD] [COFF] Fix use of uninitialized memory since SVN r375390 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@375400 91177308-0d34-0410-b5e6-96231b3b80d8 --- COFF/InputFiles.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/COFF/InputFiles.h b/COFF/InputFiles.h index 1004432c6..672461cd8 100644 --- a/COFF/InputFiles.h +++ b/COFF/InputFiles.h @@ -294,7 +294,7 @@ private: // symbols in the real symbol table) are filled with null pointers. std::vector symbols; - DWARFCache *dwarf; + DWARFCache *dwarf = nullptr; }; // This type represents import library members that contain DLL names -- cgit v1.2.3