summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-21 11:00:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-21 13:57:15 +0100
commit4d22eff3c1afc1294785842be163abfa263ef43b (patch)
treec93ec1652ab1e8590d76abfbf951a351578b6d29 /store
parente7ff9ade29aff212b2e2728a15bbf5a11f5b8717 (diff)
cppcheck: redundantPointerOp
Change-Id: I19f02169a113b8c9bae634691e28cf9f9d6977b5
Diffstat (limited to 'store')
-rw-r--r--store/source/store.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/store.cxx b/store/source/store.cxx
index f3ec7c0b2a80..c6e79a85e5a2 100644
--- a/store/source/store.cxx
+++ b/store/source/store.cxx
@@ -422,7 +422,7 @@ storeError SAL_CALL store_openStream (
xLockBytes->acquire();
- *phStream = static_cast<storeStreamHandle>(&(*xLockBytes));
+ *phStream = xLockBytes.get();
return store_E_None;
}