From c6111ac8e31b8d949973c16b26b63553067b759d Mon Sep 17 00:00:00 2001 From: Jan Christoph Uhde Date: Tue, 28 Mar 2017 14:55:19 +0200 Subject: [PATCH] silence warinings --- arangod/RocksDBEngine/RocksDBIndexFactory.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arangod/RocksDBEngine/RocksDBIndexFactory.cpp b/arangod/RocksDBEngine/RocksDBIndexFactory.cpp index 310e920d45..f93943f7a0 100644 --- a/arangod/RocksDBEngine/RocksDBIndexFactory.cpp +++ b/arangod/RocksDBEngine/RocksDBIndexFactory.cpp @@ -337,8 +337,8 @@ std::shared_ptr RocksDBIndexFactory::prepareIndexFromSlice( } // no need to access this in every single index - RocksDBEngine *engine = static_cast(EngineSelectorFeature::ENGINE); - rocksdb::TransactionDB *db = engine->db(); + //RocksDBEngine *engine = static_cast(EngineSelectorFeature::ENGINE); + //rocksdb::TransactionDB *db = engine->db(); switch (type) { case arangodb::Index::TRI_IDX_TYPE_PRIMARY_INDEX: { @@ -388,8 +388,8 @@ void RocksDBIndexFactory::fillSystemIndexes( std::make_shared(col, builder.slice())); // create edges index if (col->type() == TRI_COL_TYPE_EDGE) { - RocksDBEngine *engine = static_cast(EngineSelectorFeature::ENGINE); - rocksdb::TransactionDB *db = engine->db(); + //RocksDBEngine *engine = static_cast(EngineSelectorFeature::ENGINE); + //rocksdb::TransactionDB *db = engine->db(); systemIndexes.emplace_back( std::make_shared(1, col, StaticStrings::FromString));