summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-13 20:41:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-13 20:44:03 +0100
commit5d26ad5a0e446bcda8c8b7dadbe0c567c1dcc082 (patch)
tree777987b411a3fc8f20b448472e2dc5d449e2784f
parent8684b228fe911f95e3c91b1f5072af37515a29e2 (diff)
cppcheck: redundantPointerOp
Change-Id: Ifb32fc03b686aeb0835422764178e54650b183f5
-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 d01d4e9e28c1..f3ec7c0b2a80 100644
--- a/store/source/store.cxx
+++ b/store/source/store.cxx
@@ -312,7 +312,7 @@ storeError SAL_CALL store_openDirectory (
xDirectory->acquire();
- *phDirectory = static_cast<storeDirectoryHandle>(&(*xDirectory));
+ *phDirectory = xDirectory.get();
return store_E_None;
}