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:
Richard Heck 2011-09-23 17:51:39 +00:00
parent a0a4ac91af
commit ea50cd71f9
3 changed files with 3 additions and 5 deletions

View File

@ -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();

View File

@ -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_);

View File

@ -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;