From: Richard Heck Date: Sat, 24 Feb 2018 05:49:31 +0000 (-0500) Subject: Fix bug #10939. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3780 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f22954b89dd8ed03ed223ea76ac9c9f7afd5bce0;p=features.git Fix bug #10939. --- diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 00affe0a31..c18b5e8353 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -4678,7 +4678,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, bool known_hspace = false; bool known_vspace = false; bool known_unit = false; - double value; + double value = 0.0; if (valid) { istringstream iss(valstring); iss >> value;