From 7acb8e3998db30096bd8ac2f5bb6d66537ebb141 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 13 Feb 2008 12:25:42 +0000 Subject: [PATCH] Warning fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22973 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextClass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextClass.cpp b/src/TextClass.cpp index 0e73f35d25..ec98ff811a 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -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(new Layout(lay))); }