mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix a couple unused variable warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39737 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a0a4ac91af
commit
ea50cd71f9
@ -274,9 +274,9 @@ bool Lexer::Pimpl::setFile(FileName const & filename)
|
||||
|
||||
// Skip byte order mark.
|
||||
if (is.peek() == 0xef) {
|
||||
int c = is.get();
|
||||
is.get();
|
||||
if (is.peek() == 0xbb) {
|
||||
c = is.get();
|
||||
is.get();
|
||||
LASSERT(is.get() == 0xbf, /**/);
|
||||
} else
|
||||
is.unget();
|
||||
|
@ -382,9 +382,8 @@ void SpellcheckerWidget::Private::check()
|
||||
docstring_list suggestions;
|
||||
|
||||
LYXERR(Debug::GUI, "Spellchecker: start check at " << from);
|
||||
int progress;
|
||||
try {
|
||||
progress = bv->buffer().spellCheck(from, to, word_lang, suggestions);
|
||||
bv->buffer().spellCheck(from, to, word_lang, suggestions);
|
||||
} catch (ExceptionMessage const & message) {
|
||||
if (message.type_ == WarningException) {
|
||||
Alert::warning(message.title_, message.details_);
|
||||
|
@ -159,7 +159,6 @@ bool InsetLayout::read(Lexer & lex, TextClass const & tclass)
|
||||
|
||||
lex.pushTable(elementTags);
|
||||
|
||||
FontInfo font = inherit_font;
|
||||
labelfont_ = inherit_font;
|
||||
bgcolor_ = Color_none;
|
||||
bool getout = false;
|
||||
|
Loading…
Reference in New Issue
Block a user