From: Richard Heck Date: Wed, 17 Oct 2007 12:33:47 +0000 (+0000) Subject: Silence some warnings. X-Git-Tag: 1.6.10~7817 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=63c10fcdfd0942ab70898f32a53bbcefde458ac1;p=lyx.git Silence some warnings. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21003 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index b41ad64843..031d00e5c0 100644 --- a/src/insets/InsetInfo.cpp +++ b/src/insets/InsetInfo.cpp @@ -48,7 +48,7 @@ using support::ExceptionMessage; using support::WarningException; InsetInfo::InsetInfo(BufferParams const & bp, string const & name) - : InsetText(bp), bp_(bp), type_(UNKNOWN_INFO), name_(), + : InsetText(bp), type_(UNKNOWN_INFO), name_(), bp_(bp), mouse_hover_(false) { setAutoBreakRows(true); @@ -57,7 +57,7 @@ InsetInfo::InsetInfo(BufferParams const & bp, string const & name) } -Inset * InsetInfo::editXY(Cursor & cur, int x, int y) +Inset * InsetInfo::editXY(Cursor &, int, int) { return this; } @@ -102,7 +102,7 @@ Translator const & InsetInfo::nameTranslator( -void InsetInfo::read(Buffer const & buf, Lexer & lex) +void InsetInfo::read(Buffer const &, Lexer & lex) { string token; while (lex.isOK()) { @@ -128,7 +128,7 @@ void InsetInfo::read(Buffer const & buf, Lexer & lex) } -void InsetInfo::write(Buffer const & buf, std::ostream & os) const +void InsetInfo::write(Buffer const &, std::ostream & os) const { os << "Info\ntype \"" << nameTranslator().find(type_)