[clang-format][NFC] Rename variable so no shadowing happens

In the loop there is also a Node.

Differential Revision: https://reviews.llvm.org/D115063
This commit is contained in:
Björn Schäpers 2021-12-03 08:25:23 +01:00
parent 25f637913f
commit e7fdeda2c9
1 changed files with 2 additions and 2 deletions

View File

@ -1015,9 +1015,9 @@ private:
QueueType Queue;
// Insert start element into queue.
StateNode *Node =
StateNode *RootNode =
new (Allocator.Allocate()) StateNode(InitialState, false, nullptr);
Queue.push(QueueItem(OrderedPenalty(0, Count), Node));
Queue.push(QueueItem(OrderedPenalty(0, Count), RootNode));
++Count;
unsigned Penalty = 0;