Skip to content

Commit 04d8d15

Browse files
committed
Some minor cleaning up.
1 parent 7473d64 commit 04d8d15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/analyser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@ void Analyser::AnalyserImpl::analyseNode(const XmlNodePtr &node,
483483
// +-------------+
484484

485485
auto childCount = mathmlChildCount(node);
486-
AnalyserEquationAstPtr tempAst;
487486
AnalyserEquationAstPtr astRightChild;
487+
AnalyserEquationAstPtr tempAst;
488488

489489
for (size_t i = childCount - 1; i > 0; --i) {
490490
astRightChild = tempAst;
@@ -493,6 +493,7 @@ void Analyser::AnalyserImpl::analyseNode(const XmlNodePtr &node,
493493
if (astRightChild != nullptr) {
494494
if (i == childCount - 2) {
495495
astRightChild->swapLeftAndRightChildren();
496+
496497
tempAst = astRightChild;
497498
} else {
498499
astRightChild->mPimpl->mParent = tempAst;

0 commit comments

Comments
 (0)