fix use of uninitialized.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 8 Jul 2016 19:28:55 +0000 (19:28 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 8 Jul 2016 19:28:55 +0000 (19:28 +0000)
llvm-svn: 274909

lld/ELF/Symbols.h

index 856767a..1acaae4 100644 (file)
@@ -230,7 +230,7 @@ public:
 
   // If non-null the symbol has a Thunk that may be used as an alternative
   // destination for callers of this Symbol.
-  Thunk<ELFT> *ThunkData;
+  Thunk<ELFT> *ThunkData = nullptr;
 
 private:
   static InputSectionBase<ELFT> *NullInputSection;