From: Richard Heck Date: Sat, 24 Feb 2018 06:04:20 +0000 (-0500) Subject: Fix bug #10890. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3778 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=77a7df10037c64040c5910d7e997af3026bd5c39;p=features.git Fix bug #10890. --- 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)));