connectivity/source/parse/sqlnode.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c880eb6b699ffda22231d008e3bcc842db32576f Author: Caolán McNamara <caol...@redhat.com> Date: Thu May 12 12:32:29 2016 +0100 tweak assert and switch to squeak by NDEBUG and nonNDEBUG Change-Id: I996d69d83acb77e96cb105f65a0243bd5fe80295 diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx index bf88799..7907e3f 100644 --- a/connectivity/source/parse/sqlnode.cxx +++ b/connectivity/source/parse/sqlnode.cxx @@ -1965,9 +1965,9 @@ void OSQLParseNode::negateSearchCondition(OSQLParseNode*& pSearchCondition, bool switch(pComparison->getNodeType()) { default: - assert(false && "OSQLParseNode::negateSearchCondition: unexpected node type!"); - SAL_FALLTHROUGH; case SQLNodeType::Equal: + assert(pComparison->getNodeType() == SQLNodeType::Equal && + "OSQLParseNode::negateSearchCondition: unexpected node type!"); pNewComparison = new OSQLParseNode(OUString("<>"),SQLNodeType::NotEqual,SQL_NOTEQUAL); break; case SQLNodeType::Less:
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits