]> git.lyx.org Git - features.git/commitdiff
msvc stops on unused variables.
authorPeter Kümmel <syntheticpp@gmx.net>
Wed, 1 Sep 2010 14:18:32 +0000 (14:18 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Wed, 1 Sep 2010 14:18:32 +0000 (14:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35254 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyX.cpp

index 42f79297cc0c8cf64da29457574de830baae1f4d..88ebfd468eeefcabd9eb55a7791c52a24d7de10b 100644 (file)
@@ -285,7 +285,9 @@ int LyX::exec(int & argc, char * argv[])
        try {
                init_package(os::utf8_argv(0), string(), string(),
                              top_build_dir_is_one_level_up);
-       } catch (ExceptionMessage const & message) {}
+       } catch (ExceptionMessage const & message) {
+               LYXERR(Debug::LOCALE, message.title_ + ", " + message.details_);
+  }
        locale_init();
 
        // Here we need to parse the command line. At least