From 77a7df10037c64040c5910d7e997af3026bd5c39 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 24 Feb 2018 01:04:20 -0500 Subject: [PATCH] Fix bug #10890. --- src/frontends/qt4/GuiView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index b0986f2a29..bec9a994be 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))); -- 2.39.2