liuis / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

cppcheck - warning (leveldb-1.10.0) #171

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[db\db_bench.cc:284]: (warning) Member variable 'SharedState::total' is not 
initialized in the constructor.
[db\db_bench.cc:284]: (warning) Member variable 'SharedState::num_initialized' 
is not initialized in the constructor.
[db\db_bench.cc:284]: (warning) Member variable 'SharedState::num_done' is not 
initialized in the constructor.
[db\db_bench.cc:284]: (warning) Member variable 'SharedState::start' is not 
initialized in the constructor.
[db\db_bench.cc:294]: (warning) Member variable 'ThreadState::shared' is not 
initialized in the constructor.
[db\db_impl.cc:46]: (warning) Member variable 'Writer::batch' is not 
initialized in the constructor.
[db\db_impl.cc:46]: (warning) Member variable 'Writer::sync' is not initialized 
in the constructor.
[db\db_impl.cc:46]: (warning) Member variable 'Writer::done' is not initialized 
in the constructor.
[db\version_set.cc:170]: (warning) Member variable 
'LevelFileNumIterator::value_buf_' is not initialized in the constructor.
[doc\bench\db_bench_sqlite3.cc:315]: (warning) Member variable 
'Benchmark::start_' is not initialized in the constructor.
[doc\bench\db_bench_sqlite3.cc:315]: (warning) Member variable 
'Benchmark::last_op_finish_' is not initialized in the constructor.
[doc\bench\db_bench_sqlite3.cc:315]: (warning) Member variable 
'Benchmark::done_' is not initialized in the constructor.
[doc\bench\db_bench_sqlite3.cc:315]: (warning) Member variable 
'Benchmark::next_report_' is not initialized in the constructor.
[doc\bench\db_bench_tree_db.cc:291]: (warning) Member variable 
'Benchmark::db_num_' is not initialized in the constructor.
[doc\bench\db_bench_tree_db.cc:291]: (warning) Member variable 
'Benchmark::start_' is not initialized in the constructor.
[doc\bench\db_bench_tree_db.cc:291]: (warning) Member variable 
'Benchmark::last_op_finish_' is not initialized in the constructor.
[doc\bench\db_bench_tree_db.cc:291]: (warning) Member variable 
'Benchmark::done_' is not initialized in the constructor.
[doc\bench\db_bench_tree_db.cc:291]: (warning) Member variable 
'Benchmark::next_report_' is not initialized in the constructor.
[util\cache.cc:170]: (warning) Member variable 'LRUCache::capacity_' is not 
initialized in the constructor.
[util\env_posix.cc:267]: (portability) The extra qualification 
'PosixMmapFile::' is unnecessary and is considered an error by many compilers.

Original issue reported on code.google.com by Pavel.Pimenov@gmail.com on 22 May 2013 at 8:06