mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Another (IMHO false) fall-through warning silenced
With a FIXME. The case should be checked.
This commit is contained in:
parent
6dc1884d05
commit
b73879691f
@ -2723,7 +2723,8 @@ bool GuiApplication::notify(QObject * receiver, QEvent * event)
|
||||
#endif
|
||||
// In release mode, try to exit gracefully.
|
||||
this->exit(1);
|
||||
|
||||
// FIXME: GCC 7 thinks we can fall through here. Can we?
|
||||
// fall through
|
||||
case BufferException: {
|
||||
if (!current_view_ || !current_view_->documentBufferView())
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user