diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-06-11 17:32:05 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-06-12 16:17:35 +0000 |
commit | 5508d25baa41d4d16e58b0bdd3365a4eab54c734 (patch) | |
tree | 15d788674205e208158112f363cd98913c2c7127 /src/xmlpatterns/data/qderivedinteger_p.h | |
parent | 7aad4fb7bcd219badbc19b393b6d0aa6192ac8fe (diff) | |
download | qtxmlpatterns-5508d25baa41d4d16e58b0bdd3365a4eab54c734.tar.gz |
Fix GCC 7 warning about fallthrough
Change-Id: Ia53158e207a94bf49489fffd14c738808be5a6b9
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/xmlpatterns/data/qderivedinteger_p.h')
-rw-r--r-- | src/xmlpatterns/data/qderivedinteger_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/data/qderivedinteger_p.h b/src/xmlpatterns/data/qderivedinteger_p.h index 71e21ad..bd700fc 100644 --- a/src/xmlpatterns/data/qderivedinteger_p.h +++ b/src/xmlpatterns/data/qderivedinteger_p.h @@ -602,7 +602,7 @@ namespace QPatternist case TypeShort: Q_ASSERT_X(false, Q_FUNC_INFO, "It makes no sense to call this function, see Numeric::toUnsignedInteger()."); - /* Fallthrough all these. */ + Q_FALLTHROUGH(); /* Fallthrough all these. */ case TypeUnsignedByte: case TypeUnsignedInt: case TypeUnsignedLong: |