summaryrefslogtreecommitdiffstats
path: root/starmath/source/parse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r--starmath/source/parse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 84c8508d4fe2..102851120a22 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1045,7 +1045,7 @@ std::unique_ptr<SmNode> SmParser::DoLine()
//positions, in visual formula editor.
if(ExpressionArray.empty())
{
- SmToken aTok = SmToken();
+ SmToken aTok;
aTok.eType = TNEWLINE;
ExpressionArray.emplace_back(std::unique_ptr<SmNode>(new SmExpressionNode(aTok)));
}