From b604d2562fcf527fe61cbd6e71886c96aa2c84fc Mon Sep 17 00:00:00 2001 From: Andres Noetzli Date: Wed, 19 Aug 2015 16:57:40 -0700 Subject: [PATCH] Removing unused variables to fix build Summary: Removing two unused variables that prevented compilation. Test Plan: make all Reviewers: rven, sdong, yhchiang, anthony, igor Reviewed By: igor Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D44991 --- db/forward_iterator.cc | 1 - db/forward_iterator.h | 1 - 2 files changed, 2 deletions(-) diff --git a/db/forward_iterator.cc b/db/forward_iterator.cc index 832aa832d..138dcd341 100644 --- a/db/forward_iterator.cc +++ b/db/forward_iterator.cc @@ -646,7 +646,6 @@ void ForwardIterator::DeleteCurrentIter() { } for (int32_t level = 1; level < vstorage->num_levels(); ++level) { - const std::vector& level_files = vstorage->LevelFiles(level); if (level_iters_[level - 1] == nullptr) { continue; } diff --git a/db/forward_iterator.h b/db/forward_iterator.h index c3d8dae9f..98fd9b114 100644 --- a/db/forward_iterator.h +++ b/db/forward_iterator.h @@ -104,7 +104,6 @@ class ForwardIterator : public Iterator { Status immutable_status_; bool valid_; bool has_iter_trimmed_for_upper_bound_; - bool has_iter_filtered_by_range_; Slice smallest_file_key_bound; IterKey prev_key_;