mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fix gcc-12 warning
From Kornel: > /usr2/src/lyx/lyx-git/src/Paragraph.cpp:1931:1: warning: control reaches end of non-void > function [-Wreturn-type] > > This is with gcc-12, compiled in debug mode.
This commit is contained in:
parent
bbaebd15ce
commit
725168baba
@ -1927,7 +1927,8 @@ FontSpan Paragraph::fontSpan(pos_type pos) const
|
||||
|
||||
// This should not happen, but if so, we take no chances.
|
||||
LYXERR0("Paragraph::fontSpan: position not found in fontinfo table!");
|
||||
LASSERT(false, return FontSpan(pos, pos));
|
||||
LASSERT(false, /**/);
|
||||
return FontSpan(pos, pos);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user