From b73879691f816b0874d9dec0c09e2db7889c4e8e Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 12 Aug 2017 08:59:26 +0200 Subject: [PATCH] Another (IMHO false) fall-through warning silenced With a FIXME. The case should be checked. --- src/frontends/qt4/GuiApplication.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5