Kaydet (Commit) 6cbdfedd authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1249674 Missing break in switch

Change-Id: I1e957afe1dc35571128fac4432b54e8ae35aa9ab
üst a760198d
...@@ -1978,6 +1978,7 @@ void OSQLParseNode::negateSearchCondition(OSQLParseNode*& pSearchCondition, bool ...@@ -1978,6 +1978,7 @@ void OSQLParseNode::negateSearchCondition(OSQLParseNode*& pSearchCondition, bool
{ {
default: default:
assert(false && "OSQLParseNode::negateSearchCondition: unexpected node type!"); assert(false && "OSQLParseNode::negateSearchCondition: unexpected node type!");
// fall-through
case SQL_NODE_EQUAL: case SQL_NODE_EQUAL:
pNewComparison = new OSQLParseNode(OUString("<>"),SQL_NODE_NOTEQUAL,SQL_NOTEQUAL); pNewComparison = new OSQLParseNode(OUString("<>"),SQL_NODE_NOTEQUAL,SQL_NOTEQUAL);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment