aboutsummaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-07-25 10:36:48 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-07-25 10:36:48 +0200
commit45859d96151b273cbf00afb35e0101f405a3cb31 (patch)
treeb5ca4e210ad6ccae9bd527fedbe787cae188cbcc /document
parenta3ec588c53ca0021857f2fc0084e108c0cfa10a7 (diff)
break, instead of fallthrough.
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/select/valuenodes.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/document/src/vespa/document/select/valuenodes.cpp b/document/src/vespa/document/select/valuenodes.cpp
index 4c6f5246fde..3b6fa9a7bbd 100644
--- a/document/src/vespa/document/select/valuenodes.cpp
+++ b/document/src/vespa/document/select/valuenodes.cpp
@@ -1050,7 +1050,7 @@ ArithmeticValueNode::getValue(std::unique_ptr<Value> lval,
return std::unique_ptr<Value>(new FloatValue(res));
}
}
- //@fallthrough@
+ break;
case MOD:
{
if (lval->getType() == Value::Integer &&
@@ -1065,7 +1065,7 @@ ArithmeticValueNode::getValue(std::unique_ptr<Value> lval,
}
}
}
- //@fallthrough@
+ break;
}
return std::unique_ptr<Value>(new InvalidValue);
}
@@ -1136,7 +1136,7 @@ ArithmeticValueNode::traceValue(std::unique_ptr<Value> lval,
return result;
}
}
- //@fallthrough@
+ break;
case MOD:
{
if (lval->getType() == Value::Integer &&
@@ -1152,7 +1152,7 @@ ArithmeticValueNode::traceValue(std::unique_ptr<Value> lval,
return result;
}
}
- //@fallthrough@
+ break;
}
out << "Failed to do operation " << getOperatorName()
<< " on values of type " << lval->getType() << " and "