commit 77a7df10037c64040c5910d7e997af3026bd5c39
Author: Richard Heck <rgh...@lyx.org>
Date:   Sat Feb 24 01:04:20 2018 -0500

    Fix bug #10890.
---
 src/frontends/qt4/GuiView.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp
index b0986f2..bec9a99 100644
--- a/src/frontends/qt4/GuiView.cpp
+++ b/src/frontends/qt4/GuiView.cpp
@@ -3455,7 +3455,7 @@ void GuiView::openChildDocument(string const & fname)
 bool GuiView::goToFileRow(string const & argument)
 {
        string file_name;
-       int row;
+       int row = -1;
        size_t i = argument.find_last_of(' ');
        if (i != string::npos) {
                file_name = os::internal_path(trim(argument.substr(0, i)));

Reply via email to