[various] remove dead code.
Squashes warnings from clang++
This commit is contained in:
@@ -6,8 +6,6 @@ using namespace era;
|
||||
//----------------------------------------------------------------
|
||||
|
||||
namespace {
|
||||
unsigned const METADATA_CACHE_SIZ = 1024;
|
||||
|
||||
// FIXME: duplication
|
||||
transaction_manager::ptr
|
||||
open_tm(block_manager<>::ptr bm) {
|
||||
|
||||
@@ -99,7 +99,6 @@ namespace {
|
||||
pd::bitset::ptr bits_;
|
||||
|
||||
bool in_era_array_;
|
||||
uint32_t nr_blocks_;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -208,8 +208,6 @@ superblock_invalid::visit(damage_visitor &v) const
|
||||
namespace era_validator {
|
||||
using namespace persistent_data;
|
||||
|
||||
uint32_t const VERSION = 1;
|
||||
unsigned const SECTOR_TO_BLOCK_SHIFT = 3;
|
||||
uint32_t const SUPERBLOCK_CSUM_SEED = 146538381;
|
||||
|
||||
// FIXME: turn into a template, we have 3 similar classes now
|
||||
|
||||
Reference in New Issue
Block a user