summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-14 09:07:27 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-14 09:08:27 +0200
commita7d21497094f0320916d4f6f99af1439ad2c3eaf (patch)
treec13e18c435f5461ecde2b4f6d2e2813413ebbeff /store
parent4891de14fb369bfe82961e37d3b34aeb65ded44b (diff)
warning C4189: : local variable is initialized but not referenced
Change-Id: I650fab8227fd8b6aeb4fd4d420cb820aefd80271
Diffstat (limited to 'store')
-rw-r--r--store/source/stortree.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx
index 8e91cf03dfa6..5e96a6e4819a 100644
--- a/store/source/stortree.cxx
+++ b/store/source/stortree.cxx
@@ -297,8 +297,7 @@ storeError OStoreBTreeNodeObject::remove (
void OStoreBTreeRootObject::testInvariant (char const * message)
{
OSL_PRECOND(m_xPage.get() != 0, "OStoreBTreeRootObject::testInvariant(): Null pointer");
- bool result = ((m_xPage->location() - m_xPage->size()) == 0);
- SAL_WARN_IF( !result, "store", message);
+ SAL_WARN_IF( (m_xPage->location() - m_xPage->size()) != 0, "store", message);
}
/*