Skip to content

Commit

Permalink
Fixed compile warning on Mac caused by unused variables.
Browse files Browse the repository at this point in the history
Summary:
Fixed compile warning caused by unused variables.

./db/compaction_picker.h:118:7: error: private field 'max_grandparent_overlap_factor_' is not used [-Werror,-Wunused-private-field]
  int max_grandparent_overlap_factor_;
      ^
./db/compaction_picker.h:119:7: error: private field 'expanded_compaction_factor_' is not used [-Werror,-Wunused-private-field]
  int expanded_compaction_factor_;
      ^
2 errors generated.

Test Plan:
make db_test
  • Loading branch information
yhchiang committed Oct 2, 2014
1 parent 187b299 commit fcac705
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions db/compaction_picker.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ class CompactionPicker {

private:
const InternalKeyComparator* const icmp_;

int max_grandparent_overlap_factor_;
int expanded_compaction_factor_;
};

class UniversalCompactionPicker : public CompactionPicker {
Expand Down

0 comments on commit fcac705

Please sign in to comment.