summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-07 08:58:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-07 09:56:06 +0100
commit68f585b1372ecf119271b18f46fb468538fde621 (patch)
tree3efda15425e5c1d6f20edf10631151c5712764b2 /store
parent6354d5a95ed0fcd90da29b8c48769a57a7202f0b (diff)
cppcheck: redundantPointerOp
Change-Id: I46f0e7c4cd45c7ac596dceae7ad28664b0cc2183
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 a7c987574705..d01d4e9e28c1 100644
--- a/store/source/store.cxx
+++ b/store/source/store.cxx
@@ -126,7 +126,7 @@ storeError SAL_CALL store_createMemoryFile (
xManager->acquire();
- *phFile = static_cast<storeFileHandle>(&(*xManager));
+ *phFile = xManager.get();
return store_E_None;
}