fix a few compiler warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30032 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-06-09 13:17:07 +00:00
parent aeb5d2f1e6
commit 626d14aa54
3 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ void GuiToc::enableView(bool enable)
}
void GuiToc::closeEvent(QCloseEvent * event)
void GuiToc::closeEvent(QCloseEvent * /*event*/)
{
is_closing_ = true;
((GuiView *)parent())->updateToolbars();

View File

@ -218,7 +218,7 @@ int InsetLabel::docbook(odocstream & os, OutputParams const & runparams) const
}
int InsetLabel::xhtml(odocstream & os, OutputParams const & runparams) const
int InsetLabel::xhtml(odocstream & os, OutputParams const & /*runparams*/) const
{
// FIXME Does this need to be escaped?
os << "<a name=\"" << getParam("name") << "\"></a>";

View File

@ -253,7 +253,7 @@ ParagraphList::const_iterator makeEnvironment(Buffer const & buf,
lastlay = 0;
}
bool const labelfirst = cstyle.htmllabelfirst();
bool item_tag_opened;
bool item_tag_opened = false;
if (!labelfirst)
item_tag_opened = openItemTag(os, cstyle);
if (cstyle.labeltype == LABEL_MANUAL) {