diff --git a/table/cuckoo_table_builder.cc b/table/cuckoo_table_builder.cc index e92ef3735..223acbf52 100644 --- a/table/cuckoo_table_builder.cc +++ b/table/cuckoo_table_builder.cc @@ -40,7 +40,6 @@ CuckooTableBuilder::CuckooTableBuilder( unsigned int)) : num_hash_table_(std::min((unsigned int) 4, max_num_hash_table)), file_(file), - key_length_(fixed_key_length), value_length_(fixed_value_length), bucket_size_(fixed_key_length + fixed_value_length), hash_table_ratio_(hash_table_ratio), diff --git a/table/cuckoo_table_builder.h b/table/cuckoo_table_builder.h index baee9a48a..904bb5248 100644 --- a/table/cuckoo_table_builder.h +++ b/table/cuckoo_table_builder.h @@ -69,7 +69,6 @@ class CuckooTableBuilder: public TableBuilder { unsigned int num_hash_table_; WritableFile* file_; - const unsigned int key_length_; const unsigned int value_length_; const unsigned int bucket_size_; const double hash_table_ratio_;