]> git.lyx.org Git - features.git/commitdiff
Fix bug #10890.
authorRichard Heck <rgheck@lyx.org>
Sat, 24 Feb 2018 06:04:20 +0000 (01:04 -0500)
committerRichard Heck <rgheck@lyx.org>
Sat, 24 Feb 2018 06:04:20 +0000 (01:04 -0500)
src/frontends/qt4/GuiView.cpp

index b0986f2a2940f66a46fe37ad7b04085f7fd2b199..bec9a994be7c0705ce162d9afc8f75c09a2776ba 100644 (file)
@@ -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)));