]> git.lyx.org Git - features.git/commitdiff
Another (IMHO false) fall-through warning silenced
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 12 Aug 2017 06:59:26 +0000 (08:59 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 12 Aug 2017 06:59:26 +0000 (08:59 +0200)
With a FIXME. The case should be checked.

src/frontends/qt4/GuiApplication.cpp

index b21d86ed27a4fb794ea0ba6d42be76a26e7e130e..1e847464d826b3e6bb4a9ba0a7c58924b4194d07 100644 (file)
@@ -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;