Remove redundant assignment. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 5 Nov 2019 16:50:46 +0000 (16:50 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 5 Nov 2019 17:08:08 +0000 (17:08 +0000)
Fixes cppcheck warning.

llvm/lib/CodeGen/MachineOutliner.cpp

index 46e6e75..250f398 100644 (file)
@@ -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.