[llvm] r274707 - Fix missing member initializers
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 6 16:30:55 PDT 2016
Author: arsenm
Date: Wed Jul 6 18:30:54 2016
New Revision: 274707
URL: http://llvm.org/viewvc/llvm-project?rev=274707&view=rev
Log:
Fix missing member initializers
This fixes the -Werror build with some combination of
warning flags.
Modified:
llvm/trunk/include/llvm/Support/OnDiskHashTable.h
Modified: llvm/trunk/include/llvm/Support/OnDiskHashTable.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/OnDiskHashTable.h?rev=274707&r1=274706&r2=274707&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/OnDiskHashTable.h (original)
+++ llvm/trunk/include/llvm/Support/OnDiskHashTable.h Wed Jul 6 18:30:54 2016
@@ -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) {}
More information about the llvm-commits
mailing list