Removed an unused private variable in db_impl.h

Summary: Removed an unused private variable in db_impl.h

Test Plan: make db_test

Reviewers: sdong, anthony, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D38925
This commit is contained in:
Yueh-Hsuan Chiang 2015-05-26 10:46:26 -07:00
parent 8d26799fef
commit a0580205c8
2 changed files with 0 additions and 4 deletions

View File

@ -312,7 +312,6 @@ DBImpl::~DBImpl() {
while (bg_compaction_scheduled_ || bg_flush_scheduled_ || notifying_events_) {
bg_cv_.Wait();
}
listeners_.clear();
flush_scheduler_.Clear();
while (!flush_queue_.empty()) {

View File

@ -626,9 +626,6 @@ class DBImpl : public DB {
// Indicate DB was opened successfully
bool opened_successfully_;
// The list of registered event listeners.
std::list<EventListener*> listeners_;
// count how many events are currently being notified.
int notifying_events_;