From: Juergen Spitzmueller Date: Sat, 12 Aug 2017 06:59:26 +0000 (+0200) Subject: Another (IMHO false) fall-through warning silenced X-Git-Tag: 2.3.0beta1~22 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b73879691f816b0874d9dec0c09e2db7889c4e8e;p=features.git Another (IMHO false) fall-through warning silenced With a FIXME. The case should be checked. --- diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index b21d86ed27..1e847464d8 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -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;