From f799a226b1025bf7158bc00dff35ee060f57a137 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 29 Mar 2017 12:59:19 +0200 Subject: Cleanup implicit fallthroughs in xmlpatterns Use Q_FALLTHOUGH instead of comments, and use it consistently. Change-Id: Ieaf4867b612e624774011275b90cdd3678a29fe9 Reviewed-by: Marc Mutz --- src/xmlpatterns/functions/qsystempropertyfn.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/xmlpatterns/functions/qsystempropertyfn.cpp') diff --git a/src/xmlpatterns/functions/qsystempropertyfn.cpp b/src/xmlpatterns/functions/qsystempropertyfn.cpp index 188a9a6..71a8d68 100644 --- a/src/xmlpatterns/functions/qsystempropertyfn.cpp +++ b/src/xmlpatterns/functions/qsystempropertyfn.cpp @@ -85,11 +85,8 @@ QString SystemPropertyFN::retrieveProperty(const QXmlName name) case StandardLocalNames::product_version: return QLatin1String("0.1"); case StandardLocalNames::is_schema_aware: - /* Fallthrough. */ case StandardLocalNames::supports_backwards_compatibility: - /* Fallthrough. */ case StandardLocalNames::supports_serialization: - /* Fallthrough. */ return QLatin1String("no"); default: return QString(); -- cgit v1.2.1