Fix may be used uninitialized warnings

This commit is contained in:
Brad Chase
2017-03-21 19:14:07 -04:00
parent c453df927f
commit b958fa413e
2 changed files with 5 additions and 5 deletions

View File

@@ -151,8 +151,8 @@ public:
void doClean (Json::Value const& params) override
{
LedgerIndex minRange;
LedgerIndex maxRange;
LedgerIndex minRange = 0;
LedgerIndex maxRange = 0;
app_.getLedgerMaster().getFullValidatedRange (minRange, maxRange);
{