Revision b45fbc1175fb83080405af6732881db272e462e0 authored by Prashant D on 28 November 2017, 21:15:20 UTC, committed by Facebook Github Bot on 28 November 2017, 21:27:08 UTC
Summary:
```
utilities/persistent_cache/block_cache_tier_file.cc
64struct CacheRecordHeader {
   	2. uninit_member: Non-static class member magic_ is not initialized in this constructor nor in any functions that it calls.
   	4. uninit_member: Non-static class member crc_ is not initialized in this constructor nor in any functions that it calls.
   	6. uninit_member: Non-static class member key_size_ is not initialized in this constructor nor in any functions that it calls.

CID 1396161 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
8. uninit_member: Non-static class member val_size_ is not initialized in this constructor nor in any functions that it calls.
 65  CacheRecordHeader() {}
 66  CacheRecordHeader(const uint32_t magic, const uint32_t key_size,
 67                    const uint32_t val_size)
 68      : magic_(magic), crc_(0), key_size_(key_size), val_size_(val_size) {}
 69
   	1. member_decl: Class member declaration for magic_.
 70  uint32_t magic_;
   	3. member_decl: Class member declaration for crc_.
 71  uint32_t crc_;
   	5. member_decl: Class member declaration for key_size_.
 72  uint32_t key_size_;
   	7. member_decl: Class member declaration for val_size_.
 73  uint32_t val_size_;
 74};

utilities/simulator_cache/sim_cache.cc:
157        miss_times_(0),

CID 1396124 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member stats_ is not initialized in this constructor nor in any functions that it calls.
158        hit_times_(0) {}
159
```
Closes https://github.com/facebook/rocksdb/pull/3155

Differential Revision: D6427237

Pulled By: sagar0

fbshipit-source-id: 97e493da5fc043c5b9a3e0d33103442cffb75aad
1 parent 7b57510
History
File Mode Size
adaptive_table_factory.cc -rw-r--r-- 4.8 KB
adaptive_table_factory.h -rw-r--r-- 1.8 KB
block.cc -rw-r--r-- 14.8 KB
block.h -rw-r--r-- 12.6 KB
block_based_filter_block.cc -rw-r--r-- 8.1 KB
block_based_filter_block.h -rw-r--r-- 4.5 KB
block_based_filter_block_test.cc -rw-r--r-- 7.9 KB
block_based_table_builder.cc -rw-r--r-- 32.8 KB
block_based_table_builder.h -rw-r--r-- 5.0 KB
block_based_table_factory.cc -rw-r--r-- 17.7 KB
block_based_table_factory.h -rw-r--r-- 6.6 KB
block_based_table_reader.cc -rw-r--r-- 89.8 KB
block_based_table_reader.h -rw-r--r-- 20.1 KB
block_builder.cc -rw-r--r-- 4.5 KB
block_builder.h -rw-r--r-- 2.1 KB
block_prefix_index.cc -rw-r--r-- 7.8 KB
block_prefix_index.h -rw-r--r-- 2.2 KB
block_test.cc -rw-r--r-- 16.1 KB
bloom_block.cc -rw-r--r-- 700 bytes
bloom_block.h -rw-r--r-- 1.0 KB
cleanable_test.cc -rw-r--r-- 6.3 KB
cuckoo_table_builder.cc -rw-r--r-- 19.2 KB
cuckoo_table_builder.h -rw-r--r-- 4.6 KB
cuckoo_table_builder_test.cc -rw-r--r-- 26.4 KB
cuckoo_table_factory.cc -rw-r--r-- 2.5 KB
cuckoo_table_factory.h -rw-r--r-- 2.9 KB
cuckoo_table_reader.cc -rw-r--r-- 13.1 KB
cuckoo_table_reader.h -rw-r--r-- 2.8 KB
cuckoo_table_reader_test.cc -rw-r--r-- 19.5 KB
filter_block.h -rw-r--r-- 4.7 KB
flush_block_policy.cc -rw-r--r-- 2.9 KB
format.cc -rw-r--r-- 21.8 KB
format.h -rw-r--r-- 9.5 KB
full_filter_bits_builder.h -rw-r--r-- 2.8 KB
full_filter_block.cc -rw-r--r-- 3.5 KB
full_filter_block.h -rw-r--r-- 4.3 KB
full_filter_block_test.cc -rw-r--r-- 5.6 KB
get_context.cc -rw-r--r-- 8.0 KB
get_context.h -rw-r--r-- 3.4 KB
index_builder.cc -rw-r--r-- 6.9 KB
index_builder.h -rw-r--r-- 13.7 KB
internal_iterator.h -rw-r--r-- 4.4 KB
iter_heap.h -rw-r--r-- 1.2 KB
iterator.cc -rw-r--r-- 5.8 KB
iterator_wrapper.h -rw-r--r-- 3.2 KB
merger_test.cc -rw-r--r-- 4.5 KB
merging_iterator.cc -rw-r--r-- 12.2 KB
merging_iterator.h -rw-r--r-- 2.0 KB
meta_blocks.cc -rw-r--r-- 14.6 KB
meta_blocks.h -rw-r--r-- 5.0 KB
mock_table.cc -rw-r--r-- 4.2 KB
mock_table.h -rw-r--r-- 5.6 KB
partitioned_filter_block.cc -rw-r--r-- 10.7 KB
partitioned_filter_block.h -rw-r--r-- 3.8 KB
partitioned_filter_block_test.cc -rw-r--r-- 10.0 KB
persistent_cache_helper.cc -rw-r--r-- 4.3 KB
persistent_cache_helper.h -rw-r--r-- 1.5 KB
persistent_cache_options.h -rw-r--r-- 1.0 KB
plain_table_builder.cc -rw-r--r-- 9.4 KB
plain_table_builder.h -rw-r--r-- 4.6 KB
plain_table_factory.cc -rw-r--r-- 8.8 KB
plain_table_factory.h -rw-r--r-- 8.4 KB
plain_table_index.cc -rw-r--r-- 7.3 KB
plain_table_index.h -rw-r--r-- 7.1 KB
plain_table_key_coding.cc -rw-r--r-- 17.4 KB
plain_table_key_coding.h -rw-r--r-- 7.4 KB
plain_table_reader.cc -rw-r--r-- 24.0 KB
plain_table_reader.h -rw-r--r-- 8.0 KB
scoped_arena_iterator.h -rw-r--r-- 1.6 KB
sst_file_writer.cc -rw-r--r-- 8.7 KB
sst_file_writer_collectors.h -rw-r--r-- 2.7 KB
table_builder.h -rw-r--r-- 4.9 KB
table_properties.cc -rw-r--r-- 8.4 KB
table_properties_internal.h -rw-r--r-- 1.0 KB
table_reader.h -rw-r--r-- 4.3 KB
table_reader_bench.cc -rw-r--r-- 12.3 KB
table_test.cc -rw-r--r-- 110.2 KB
two_level_iterator.cc -rw-r--r-- 8.3 KB
two_level_iterator.h -rw-r--r-- 2.1 KB

back to top