diff --git a/src/insets/InsetMarginal.cpp b/src/insets/InsetMarginal.cpp index 03e48e5fba..511071e4b2 100644 --- a/src/insets/InsetMarginal.cpp +++ b/src/insets/InsetMarginal.cpp @@ -79,7 +79,7 @@ int InsetMarginal::docbook(Buffer const & buf, odocstream & os, } -void InsetMarginal::addToToc(TocList & toclist, Buffer const & buf, ParConstIterator const &) const +void InsetMarginal::addToToc(TocList & toclist, Buffer const &/* buf*/, ParConstIterator const &) const { ParConstIterator pit = par_const_iterator_begin(*this); diff --git a/src/insets/InsetNote.cpp b/src/insets/InsetNote.cpp index dc57f5ffff..bb22daf5bc 100644 --- a/src/insets/InsetNote.cpp +++ b/src/insets/InsetNote.cpp @@ -220,7 +220,7 @@ void InsetNote::updateLabels(Buffer const & buf, ParIterator const & it) } -void InsetNote::addToToc(TocList & toclist, Buffer const & buf, ParConstIterator const &) const +void InsetNote::addToToc(TocList & toclist, Buffer const & /*buf*/, ParConstIterator const &) const { ParConstIterator pit = par_const_iterator_begin(*this);