summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-07-07 13:20:54 +0300
committerTor Lillqvist <tml@collabora.com>2014-07-07 13:21:56 +0300
commit4e549156ef63b08965ed0271b6506479483bef4c (patch)
tree660220693427ee7cf065dda0222dad41a7a2265c
parent25b503e7317adc377279b3f844f3d758a447ed37 (diff)
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
-rw-r--r--connectivity/source/parse/sqlnode.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index a80e8d4d94cb..0f6426719272 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -1993,6 +1993,8 @@ void OSQLParseNode::negateSearchCondition(OSQLParseNode*& pSearchCondition, bool
case SQL_NODE_NOTEQUAL:
pNewComparison = new OSQLParseNode(OUString("="),SQL_NODE_EQUAL,SQL_EQUAL);
break;
+ default:
+ break;
}
assert(pNewComparison && "OSQLParseNode::negateSearchCondition: unexpected node type!");
pSearchCondition->replace(pComparison, pNewComparison);