]> git.lyx.org Git - features.git/commitdiff
fix a few compiler warnings
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 9 Jun 2009 13:17:07 +0000 (13:17 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 9 Jun 2009 13:17:07 +0000 (13:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30032 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiToc.cpp
src/insets/InsetLabel.cpp
src/output_xhtml.cpp

index 9a22e81df721fe1841a43248129745ba0e6075c5..787bbb7058b458efddfa609794727b95ecb02925 100644 (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();
index 9435c3f0406bb0a25f49296a5a248cb56888d14c..9de72d970143d8eb9cbbb9f465a4900c3f3e7bae 100644 (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>";
index 5021d4bac07eea5b0c6fac28f6101d263bea33c3..62a5ee80464f4c462eda671b3826fe10d257ca10 100644 (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) {