mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +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
|
#endif
|
||||||
// In release mode, try to exit gracefully.
|
// In release mode, try to exit gracefully.
|
||||||
this->exit(1);
|
this->exit(1);
|
||||||
|
// FIXME: GCC 7 thinks we can fall through here. Can we?
|
||||||
|
// fall through
|
||||||
case BufferException: {
|
case BufferException: {
|
||||||
if (!current_view_ || !current_view_->documentBufferView())
|
if (!current_view_ || !current_view_->documentBufferView())
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user