summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/functions/qerrorfn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/functions/qerrorfn.cpp')
-rw-r--r--src/xmlpatterns/functions/qerrorfn.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xmlpatterns/functions/qerrorfn.cpp b/src/xmlpatterns/functions/qerrorfn.cpp
index 19e9440..90f18c0 100644
--- a/src/xmlpatterns/functions/qerrorfn.cpp
+++ b/src/xmlpatterns/functions/qerrorfn.cpp
@@ -61,10 +61,11 @@ Item ErrorFN::evaluateSingleton(const DynamicContext::Ptr &context) const
return Item();
}
case 3:
- /* Fallthrough, we don't use the 'error object' param. */
+ /* Fallthrough, we don't use the 'error object' param. */
+ Q_FALLTHROUGH();
case 2:
msg = m_operands.at(1)->evaluateSingleton(context).stringValue();
- /* Fall through. */
+ Q_FALLTHROUGH();
case 1:
{
const QNameValue::Ptr qName(m_operands.first()->evaluateSingleton(context).as<QNameValue>());