Kaydet (Commit) 4e549156 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: enumeration values not handled in switch

The previous commit to this file removed the default: case, so add it back
(even if doing nothing now).

Change-Id: Idc02818a30216dda0d64fddf21188de5766672e2
üst 25b503e7
...@@ -1993,6 +1993,8 @@ void OSQLParseNode::negateSearchCondition(OSQLParseNode*& pSearchCondition, bool ...@@ -1993,6 +1993,8 @@ void OSQLParseNode::negateSearchCondition(OSQLParseNode*& pSearchCondition, bool
case SQL_NODE_NOTEQUAL: case SQL_NODE_NOTEQUAL:
pNewComparison = new OSQLParseNode(OUString("="),SQL_NODE_EQUAL,SQL_EQUAL); pNewComparison = new OSQLParseNode(OUString("="),SQL_NODE_EQUAL,SQL_EQUAL);
break; break;
default:
break;
} }
assert(pNewComparison && "OSQLParseNode::negateSearchCondition: unexpected node type!"); assert(pNewComparison && "OSQLParseNode::negateSearchCondition: unexpected node type!");
pSearchCondition->replace(pComparison, pNewComparison); pSearchCondition->replace(pComparison, pNewComparison);
......
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