Another (IMHO false) fall-through warning silenced

With a FIXME. The case should be checked.
This commit is contained in:
Juergen Spitzmueller 2017-08-12 08:59:26 +02:00
parent 6dc1884d05
commit b73879691f

View File

@ -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;