summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-06 15:59:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-06 16:33:28 +0200
commitc1778ef1cb731e501b07b0ec3753fa71f6afe363 (patch)
tree288019825380c93b53a88009793db82fac98745e /connectivity
parent1c5a0ac8dabbe32fc00686efab877805af851b0e (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Ie1416bdd0740efa78e1ebdba9d50536f1768b046
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/parse/sqlnode.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index 8b78dda65ef7..d03f97eecbb8 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -463,7 +463,6 @@ void OSQLParseNode::impl_parseNodeToString_throw(OUStringBuffer& rString, const
case extract_exp:
case length_exp:
case char_value_fct:
- {
bSimple=false;
if (!addDateValue(rString, rParam))
{
@@ -492,8 +491,7 @@ void OSQLParseNode::impl_parseNodeToString_throw(OUStringBuffer& rString, const
rString.append(aStringPara.makeStringAndClear());
}
bHandled = true;
- }
- //fall-through
+ break;
case odbc_call_spec:
case subquery:
case term:
@@ -502,8 +500,7 @@ void OSQLParseNode::impl_parseNodeToString_throw(OUStringBuffer& rString, const
case cast_spec:
case num_value_exp:
bSimple = false;
-
- break;
+ break;
default:
break;
} // switch ( getKnownRuleID() )