msvc stops on unused variables.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35254 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2010-09-01 14:18:32 +00:00
parent bf72a8097a
commit ffec54c980

View 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