summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-03-22 15:24:04 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-03-22 15:24:04 +0000
commit3df90c16d658eaf9d0b92947e01e9a13987ce54a (patch)
tree6917f7e96a937e5ca140afc8a971562ee465dffa /searchcore
parent67c850e663acbcf6d58f89f9b6b7ae884bc917d1 (diff)
Remove confusing void cast.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/attribute/attribute_directory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_directory.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_directory.cpp
index 3babd9556c7..265e9bb11a6 100644
--- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_directory.cpp
+++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_directory.cpp
@@ -36,7 +36,7 @@ AttributeDirectory::AttributeDirectory(const std::shared_ptr<AttributeDiskLayout
_cv(),
_snapInfo(getDirName())
{
- (void) _snapInfo.load();
+ _snapInfo.load();
SerialNum flushedSerialNum = getFlushedSerialNum();
if (flushedSerialNum != 0) {
vespalib::string dirName = getSnapshotDir(flushedSerialNum);