[various] remove dead code.

Squashes warnings from clang++
This commit is contained in:
Joe Thornber
2020-04-08 12:12:59 +01:00
parent 5f2c3bed69
commit 5e347dddbf
13 changed files with 5 additions and 35 deletions

View File

@@ -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) {

View File

@@ -99,7 +99,6 @@ namespace {
pd::bitset::ptr bits_;
bool in_era_array_;
uint32_t nr_blocks_;
};
}

View File

@@ -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