summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-05 16:50:46 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-05 17:08:08 +0000
commit117e6dd6cc2d566f012221fce48a9c21cecdac8f (patch)
treecfdedc0ec556a6be29675161813b799a326a3860
parent76166a1ac7140bb1b577f198c95cb7e9dd67a10b (diff)
downloadbcm5719-llvm-117e6dd6cc2d566f012221fce48a9c21cecdac8f.tar.gz
bcm5719-llvm-117e6dd6cc2d566f012221fce48a9c21cecdac8f.zip
Remove redundant assignment. NFCI.
Fixes cppcheck warning.
-rw-r--r--llvm/lib/CodeGen/MachineOutliner.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineOutliner.cpp b/llvm/lib/CodeGen/MachineOutliner.cpp
index 46e6e7516dd..250f3984fdb 100644
--- a/llvm/lib/CodeGen/MachineOutliner.cpp
+++ b/llvm/lib/CodeGen/MachineOutliner.cpp
@@ -472,7 +472,6 @@ public:
// Keep track of the number of suffixes we have to add of the current
// prefix.
unsigned SuffixesToAdd = 0;
- Active.Node = Root;
// Construct the suffix tree iteratively on each prefix of the string.
// PfxEndIdx is the end index of the current prefix.
OpenPOWER on IntegriCloud