diff --git a/src/mathed/InsetMathScript.cpp b/src/mathed/InsetMathScript.cpp index 9f391f66f9..a5f286b3a5 100644 --- a/src/mathed/InsetMathScript.cpp +++ b/src/mathed/InsetMathScript.cpp @@ -611,7 +611,7 @@ void InsetMathScript::mathmlize(MathMLStream & ms) const if (!d && !u) return; - const char * tag; + const char * tag = nullptr; if (u && d) tag = has_limits ? "munderover" : "msubsup"; else if (u)