From fa1a117ea6e2a3ea0931d441d1dc8917e2145f73 Mon Sep 17 00:00:00 2001 From: Peter Varga Date: Tue, 27 Mar 2018 16:30:27 +0200 Subject: Yarr: Add Q_FALLTHROUGH to silence GCC 7 warning Change-Id: I258b5ea84a96f5269b241c9b0cce53202c19c61a Reviewed-by: Friedemann Kleint --- src/3rdparty/masm/yarr/YarrInterpreter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/3rdparty/masm/yarr/YarrInterpreter.cpp b/src/3rdparty/masm/yarr/YarrInterpreter.cpp index 4a789f6f28..16fc183cad 100644 --- a/src/3rdparty/masm/yarr/YarrInterpreter.cpp +++ b/src/3rdparty/masm/yarr/YarrInterpreter.cpp @@ -731,6 +731,7 @@ public: context->term -= term.atom.parenthesesWidth; return false; } + Q_FALLTHROUGH(); case QuantifierNonGreedy: if (backTrack->begin == notFound) { backTrack->begin = input.getPos(); -- cgit v1.2.3