Skip to content

Commit

Permalink
Remove unused varibles. Cause compiler warnings.
Browse files Browse the repository at this point in the history
Test Plan: make check

Reviewers: dhruba

Reviewed By: dhruba

CC: emayanke

Differential Revision: https://reviews.facebook.net/D6993
  • Loading branch information
sheki committed Nov 27, 2012
1 parent 2a39699 commit 43f5a07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions db/db_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -669,8 +669,6 @@ Status DBImpl::WriteLevel0TableForRecovery(MemTable* mem, VersionEdit* edit) {
// should not be added to the manifest.
int level = 0;
if (s.ok() && meta.file_size > 0) {
const Slice min_user_key = meta.smallest.user_key();
const Slice max_user_key = meta.largest.user_key();
edit->AddFile(level, meta.number, meta.file_size,
meta.smallest, meta.largest);
}
Expand Down

0 comments on commit 43f5a07

Please sign in to comment.