Skip to content

Commit

Permalink
Warning police
Browse files Browse the repository at this point in the history
  • Loading branch information
marta-lokhova committed Oct 12, 2024
1 parent 67391d9 commit 453ab78
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/bucket/test/BucketManagerTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,6 @@ TEST_CASE_VERSIONS(
auto& hm = app->getHistoryManager();
auto& bm = app->getBucketManager();
auto& bl = bm.getBucketList();
auto& lm = app->getLedgerManager();
hm.setPublicationEnabled(false);
app->getHistoryArchiveManager().initializeHistoryArchive(
tcfg.getArchiveDirName());
Expand Down
4 changes: 0 additions & 4 deletions src/herder/HerderSCPDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,6 @@ HerderSCPDriver::validateValue(uint64_t slotIndex, Value const& value,
validateValueHelper(slotIndex, b, nomination);
if (res != SCPDriver::kInvalidValue)
{
auto const& lcl = mLedgerManager.getLastClosedLedgerHeader();

LedgerUpgradeType lastUpgradeType = LEDGER_UPGRADE_VERSION;

// check upgrades
Expand Down Expand Up @@ -419,8 +417,6 @@ HerderSCPDriver::extractValidValue(uint64_t slotIndex, Value const& value)
if (validateValueHelper(slotIndex, b, true) ==
SCPDriver::kFullyValidatedValue)
{
auto const& lcl = mLedgerManager.getLastClosedLedgerHeader();

// remove the upgrade steps we don't like
LedgerUpgradeType thisUpgradeType;
for (auto it = b.upgrades.begin(); it != b.upgrades.end();)
Expand Down
1 change: 0 additions & 1 deletion src/main/CommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,6 @@ runApplyLoad(CommandLineArgs const& args)

auto& app = *appPtr;
{
auto& lm = app.getLedgerManager();
app.start();

ApplyLoad al(app, ledgerMaxInstructions,
Expand Down

0 comments on commit 453ab78

Please sign in to comment.