summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-06 23:30:54 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-06 23:30:54 +0000
commit3e96a709f1e70ae01b8553ddb934b258f8176e5a (patch)
treeae724d5ab2dfc70f5cff1fc573e45cf522311b16 /llvm
parent20128d94e5494104294719b3938e18ee9c6f2b48 (diff)
downloadbcm5719-llvm-3e96a709f1e70ae01b8553ddb934b258f8176e5a.tar.gz
bcm5719-llvm-3e96a709f1e70ae01b8553ddb934b258f8176e5a.zip
Fix missing member initializers
This fixes the -Werror build with some combination of warning flags. llvm-svn: 274707
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/OnDiskHashTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/OnDiskHashTable.h b/llvm/include/llvm/Support/OnDiskHashTable.h
index 4e8320fc362..c28fcabe78f 100644
--- a/llvm/include/llvm/Support/OnDiskHashTable.h
+++ b/llvm/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) {}
OpenPOWER on IntegriCloud