aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2018-03-27 16:30:27 +0200
committerPeter Varga <pvarga@inf.u-szeged.hu>2018-03-27 14:54:26 +0000
commitfa1a117ea6e2a3ea0931d441d1dc8917e2145f73 (patch)
tree731deff921eaafcd6fd08da51e477f11ca3cac30 /src/3rdparty
parent01cb3ff9d191a02cf59b1904ed8eaa79fa7e5c9a (diff)
Yarr: Add Q_FALLTHROUGH to silence GCC 7 warning
Change-Id: I258b5ea84a96f5269b241c9b0cce53202c19c61a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/masm/yarr/YarrInterpreter.cpp1
1 files changed, 1 insertions, 0 deletions
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();