Warning fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22973 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-13 12:25:42 +00:00
parent 371ed5aff5
commit 7acb8e3998

View File

@ -241,7 +241,7 @@ bool TextClass::read(FileName const & filename, ReadType rt)
lex.setStream(ss);
Layout lay;
lay.setName(emptylayout_);
bool error = readStyle(lex, lay);
/*bool error =*/ readStyle(lex, lay);
BOOST_ASSERT(!error);
layoutlist_.push_back(boost::shared_ptr<Layout>(new Layout(lay)));
}