Fixed compile warning on Mac caused by unused variables.

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
main
Yueh-Hsuan Chiang 10 years ago
parent 187b29938c
commit fcac705f95
  1. 3
      db/compaction_picker.h

@ -114,9 +114,6 @@ class CompactionPicker {
private:
const InternalKeyComparator* const icmp_;
int max_grandparent_overlap_factor_;
int expanded_compaction_factor_;
};
class UniversalCompactionPicker : public CompactionPicker {

Loading…
Cancel
Save