summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-07-01 14:04:02 -0700
committerThiago Macieira <thiago.macieira@intel.com>2017-07-03 08:09:41 +0000
commit43c28d4084a2c3e63cf02f45c03c9514ee8af2a4 (patch)
tree7b4e9d52d976584440a736dd9340686c547a2544
parentc9a4897aa09d723d22b842b1fabcc296bf3c7f91 (diff)
downloadqtxmlpatterns-43c28d4084a2c3e63cf02f45c03c9514ee8af2a4.tar.gz
Fix GCC 7 fallthrough warnings
warning: this statement may fall through [-Wimplicit-fallthrough=] Change-Id: I8d96dea9955d4c749b99fffd14cd50c152aaa6fe Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r--src/xmlpatterns/data/qderivedinteger_p.h2
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: