diff --git a/layout/svg/base/src/nsSVGTextFrame.cpp b/layout/svg/base/src/nsSVGTextFrame.cpp index fc7aa40bca6..3689b29c16c 100644 --- a/layout/svg/base/src/nsSVGTextFrame.cpp +++ b/layout/svg/base/src/nsSVGTextFrame.cpp @@ -1194,7 +1194,7 @@ nsSVGTextFrame::UpdateGlyphPositioning() firstFragment = node->GetFirstGlyphFragment(); - float x, y; + float x = 0, y = 0; { nsCOMPtr list = GetX();