commit f22954b89dd8ed03ed223ea76ac9c9f7afd5bce0 Author: Richard Heck <rgh...@lyx.org> Date: Sat Feb 24 00:49:31 2018 -0500
Fix bug #10939. --- src/tex2lyx/text.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 00affe0..c18b5e8 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;