mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
delete unused variable in RocksDbLocalStore
Summary: found this while looking at Overlay things Reviewed By: mshroyer Differential Revision: D47306420 fbshipit-source-id: e96ec2e4c073bd16e6b25e50a9c869a49209aaa6
This commit is contained in:
parent
7e31af8808
commit
3283fb8308
@ -388,8 +388,6 @@ void RocksDbLocalStore::clearKeySpace(KeySpace keySpace) {
|
||||
auto handlesLock = getHandles();
|
||||
auto& handles = handlesLock->handles;
|
||||
auto columnFamily = handles->columns[keySpace->index].get();
|
||||
std::unique_ptr<rocksdb::Iterator> it{
|
||||
handles->db->NewIterator(ReadOptions(), columnFamily)};
|
||||
XLOG(DBG2) << "clearing column family \"" << columnFamily->GetName() << "\"";
|
||||
std::string rangeStorage;
|
||||
const auto fullRange = getFullRange(rangeStorage);
|
||||
|
Loading…
Reference in New Issue
Block a user