summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineOutliner.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-05 15:08:21 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-05 15:15:14 +0000
commitc7f127d93f4bc694737081501c65ffa37fd1da50 (patch)
tree81ca1f7676582fa62b7dcdba60267b40f6129df3 /llvm/lib/CodeGen/MachineOutliner.cpp
parent642916adc97e54810aa597512ca7012b3c8697c5 (diff)
downloadbcm5719-llvm-c7f127d93f4bc694737081501c65ffa37fd1da50.tar.gz
bcm5719-llvm-c7f127d93f4bc694737081501c65ffa37fd1da50.zip
[MachineOutliner] Fix uninitialized variable warnings. NFCI.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineOutliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineOutliner.cpp b/llvm/lib/CodeGen/MachineOutliner.cpp
index f26ebcb44ff..c4c3f2f568b 100644
--- a/llvm/lib/CodeGen/MachineOutliner.cpp
+++ b/llvm/lib/CodeGen/MachineOutliner.cpp
@@ -252,7 +252,7 @@ private:
/// Ukkonen's algorithm.
struct ActiveState {
/// The next node to insert at.
- SuffixTreeNode *Node;
+ SuffixTreeNode *Node = nullptr;
/// The index of the first character in the substring currently being added.
unsigned Idx = EmptyIdx;
OpenPOWER on IntegriCloud