Richard Heck wrote: > On 10/11/2010 07:58 PM, Pavel Sanda wrote: > > LayoutFile.cpp: In member function 'lyx::LayoutFileIndex > > lyx::LayoutFileList::addEmptyClass(const std::string&)': > > LayoutFile.cpp:230: warning: suggest explicit braces to avoid ambiguous > > 'else' > > > > > > I don't know why it is flagging this. There is no else.
Maybe it's just extra-cautious? I think the warning does not harm, but if it annoys you, just add the braces. Jürgen