Fix gcc 4.6 compilation.

If no initializer is specified for an object, and the object is of (possibly
cv-qualified) non-POD class type (or array thereof), the object shall be
default-initialized; if the object is of const-qualified type, the underlying
class type shall have a user-declared default constructor.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37603 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-02-12 22:08:32 +00:00
parent 4460f32dfd
commit e5677802b2

View File

@ -84,7 +84,7 @@ static ParamInfo const & findInfo(InsetCode code, string const & cmdName)
default:
LASSERT(false, /**/);
}
static const ParamInfo pi;
static ParamInfo pi;
return pi; // to silence the warning
}