From: Matt Arsenault Date: Wed, 6 Jul 2016 23:30:54 +0000 (+0000) Subject: Fix missing member initializers X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09cf9fc78833f3f225890de8cf6c77aebf892e7a;p=llvm Fix missing member initializers This fixes the -Werror build with some combination of warning flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274707 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/OnDiskHashTable.h b/include/llvm/Support/OnDiskHashTable.h index 4e8320fc362..c28fcabe78f 100644 --- a/include/llvm/Support/OnDiskHashTable.h +++ b/include/llvm/Support/OnDiskHashTable.h @@ -325,7 +325,7 @@ public: Info *InfoObj; public: - iterator() : Data(nullptr), Len(0) {} + iterator() : Key(), Data(nullptr), Len(0), InfoObj(nullptr) {} iterator(const internal_key_type K, const unsigned char *D, offset_type L, Info *InfoObj) : Key(K), Data(D), Len(L), InfoObj(InfoObj) {}