Squash a noisy but useless warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8537 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2004-03-26 23:57:40 +00:00
parent abbcb43353
commit e26fc29a3c
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2004-03-25 Angus Leeming <leeming@lyx.org>
* insetcaption.C (draw): squash warning about unused variable.
2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* ExternalSupport.C: use the master buffer's temp dir

View File

@ -98,15 +98,12 @@ void InsetCaption::draw(PainterInfo & pi, int x, int y) const
type = static_cast<InsetWrap *>(i2)->params().type;
else
BOOST_ASSERT(false);
#else
string type = "float";
#endif
FloatList const & floats =
pi.base.bv->buffer()->params().getLyXTextClass().floats();
#if 0
string const fl = i2 ? floats.getType(type).name() : N_("Float");
#else
string type = "float";
string const fl = N_("Float");
#endif