Skip to content

Commit

Permalink
Removed an unused private variable in db_impl.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yhchiang committed May 26, 2015
1 parent 8d26799 commit a058020
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion db/db_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
3 changes: 0 additions & 3 deletions db/db_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;

Expand Down

0 comments on commit a058020

Please sign in to comment.